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

Resources problem #854

Closed
enves opened this issue Aug 15, 2016 · 2 comments
Closed

Resources problem #854

enves opened this issue Aug 15, 2016 · 2 comments

Comments

@enves
Copy link

enves commented Aug 15, 2016

Hi,

I configure my manifest with this resource
nginx::resource::vhost { 'my.domain.com':
www_root => "/var/www/public",
location_cfg_append => { 'rewrite' => '^(.*) https://$server_name$request_uri? permanent' },
}

And when my puppet agent go to puppetmaster this error appear:

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: {"message":"Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, "" is not an Array. It looks to be a String at /etc/puppetlabs/code/environments/production/modules/nginx/manifests/resource/vhost.pp:349:3 at /etc/puppetlabs/code/environments/production/modules/profile/manifests/ciliaapp/nginx.pp:18

I really cant understand this error.

@enves
Copy link
Author

enves commented Aug 15, 2016

When I execute it in the local machine I recieve a lot o warnings like this

Warning: Unknown variable: '::nginx::config::root_group'
Warning: Unknown variable: '::nginx::config::conf_dir'.

I use puppet agent 4.6.0

@enves
Copy link
Author

enves commented Aug 16, 2016

This is a bug in puppet 4.6.0 https://tickets.puppetlabs.com/browse/PUP-6608

@enves enves closed this as completed Aug 16, 2016
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

1 participant