I'm trying to configure a few Apache virtual hosts with the puppetlabs/apache
module. My issue is with the ${name}
variable. I expected DocumentRoot to be set to /var/www/atoms.one
, but instead it is set to /var/www/main
.
What am I doing wrong?
My manifest:
class { apache: }
apache::vhost { 'atoms.one':
port => '80',
serveraliases => [ "*.${name}" ],
docroot => "/var/www/${name}",
directories => [
{ path => "/var/www/${name}", },
],
}