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

Run as different user #392

Closed
nomasprime opened this issue Aug 4, 2014 · 5 comments
Closed

Run as different user #392

nomasprime opened this issue Aug 4, 2014 · 5 comments

Comments

@nomasprime
Copy link

class { 'nginx':
  daemon_user => 'vagrant',
}

Returns no parameter error.

@3flex
Copy link
Contributor

3flex commented Aug 5, 2014

Could you provide the full error output? Or at least the "no parameter" error you're seeing?

Also which version of this module are you using?

@nomasprime
Copy link
Author

Hi @3flex,

Error: Invalid parameter daemon_user at /tmp/vagrant-puppet-3/manifests/site.pp:54 on node vagrant-ubuntu-trusty-64.lan

Version is 0.0.9.

@3flex
Copy link
Contributor

3flex commented Aug 5, 2014

This parameter was introduced after 0.0.9 was released, which is why it's not working. You could try using the master branch from git, or wait for a new release of the module.

@nomasprime
Copy link
Author

Doh! I'm fine with my workaround atm, I'll check back in a while for an updated release. Thanks @3flex

@nomasprime
Copy link
Author

I had a few spare mins... Can confirm this works with the latest from master.

Only thing I had to do was remove the line from my manifest that removes the nginx default and also supply a complete path to fastcgi_params.

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