-
-
Notifications
You must be signed in to change notification settings - Fork 872
Closed
Description
Hello
I have provisioned my server succesfully with this module but if i want to add vhosts to it i receive some errors.
Warning: Config file /etc/puppet/hiera.yaml not found, using Hiera defaults
Error: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type concat at /data/devops/puppet/modules/nginx/manifests/resource/vhost.pp:474 on node dev01
Wrapped exception:
Invalid resource type concat
Error: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type concat at /data/devops/puppet/modules/nginx/manifests/resource/vhost.pp:474 on node dev01
My pp file:
class { 'nginx': }
# a fuller example, including permissions and ownership
file { "/var/www/evert.be":
ensure => "directory",
owner => "evancauwenberg",
group => "www-data",
mode => 750,
}
nginx::resource::vhost { 'evert.be':
ensure => present,
owner => 'evancauwenberg',
group => 'www-data',
mode => '0755',
access_log => '/var/log/nginx/evert_access.log',
error_log => '/var/log/nginx/evert_error.log',
www_root => '/var/www/evert.be',
}
Metadata
Metadata
Assignees
Labels
No labels