Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding new vhosts throws errors #415

Closed
evancauwenberg opened this issue Aug 20, 2014 · 2 comments
Closed

Adding new vhosts throws errors #415

evancauwenberg opened this issue Aug 20, 2014 · 2 comments

Comments

@evancauwenberg
Copy link

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',
    }
@3flex
Copy link
Contributor

3flex commented Aug 21, 2014

Do you have the puppetlabs-concat module installed?

@evancauwenberg
Copy link
Author

omg :|

Thnx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants