Mercurial > repos > other > Puppet
view modules/apache/manifests/vhosts.pp @ 482:d83de9b3a62b default tip
Update hiera.yaml within Puppet config
Forgot that we manage it from here. Now has content to match
new packages
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Fri, 30 Aug 2024 16:10:36 +0100 |
parents | b8d6ada284dd |
children |
line wrap: on
line source
# @summary # Creates `apache::vhost` defined types. # # @note See the `apache::vhost` defined type's reference for a list of all virtual # host parameters or Configuring virtual hosts in the README section. # # @example To create a [name-based virtual host](https://httpd.apache.org/docs/current/vhosts/name-based.html) `custom_vhost_1` # class { 'apache::vhosts': # vhosts => { # 'custom_vhost_1' => { # 'docroot' => '/var/www/custom_vhost_1', # 'port' => 81, # }, # }, # } # # @param vhosts # A hash, where the key represents the name and the value represents a hash of # `apache::vhost` defined type's parameters. # class apache::vhosts ( Hash $vhosts = {}, ) { include apache create_resources('apache::vhost', $vhosts) }