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

Unable to validate module on servers not using it #631

Closed
frachonl opened this issue May 19, 2015 · 1 comment
Closed

Unable to validate module on servers not using it #631

frachonl opened this issue May 19, 2015 · 1 comment

Comments

@frachonl
Copy link

Hello,

I'm using nginx for part of my servers, others using Apache for other purposes.

When not including the Nginx module (either class::nginx or include ::nginx) in the server's conf, I'm unable to deploy it as it complains about 'err: Could not retrieve catalog from remote server: Error 400 on SERVER: is not valid. It should be 4 digits (0644 by default). at /etc/puppet/environments//modules/nginx/manifests/resource/vhost.pp:428 on node ***__._*._*'

Puppet 2.7, Debian 7

And if I include it, it then fails starting because port 80 is already in use.

What part should I include or declare for having something working ?

Thanks

@3flex
Copy link
Contributor

3flex commented May 19, 2015

@frachonl you need to include the nginx class. You can configure the port by setting listen_port to something other than 80 on the nginx::resource::vhost declaration.

@3flex 3flex closed this as completed May 19, 2015
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