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

'undef' from left operand of 'in' expression is not a string at /etc/puppet/modules/nginx/manifests/params.pp:23 #601

Closed
sangm opened this issue Apr 13, 2015 · 2 comments
Labels
needs-feedback Further information is requested

Comments

@sangm
Copy link

sangm commented Apr 13, 2015

Getting this error when running on a fresh new install of Debian 7 on DigitalOcean node

class { 'nginx': }

or ($::operatingsystem == 'debian' and $::operatingsystemmajrelease in ['6', '7']) { $_module_os_overrides = { 'manage_repo' => true, 'daemon_user' => 'www-data', }
I presume operatingsystemmajrelease is undefined for some reason. Deleted that line and it worked great

@3flex
Copy link
Contributor

3flex commented Apr 13, 2015

@sangm which version of Facter are you using? If it's the one packaged by Debian it would be 1.6.10 while this module requires 1.7.0 or higher.

operatingsystemmajrelease fact was added in 1.7.0.

@3flex 3flex added the needs-feedback Further information is requested label Apr 13, 2015
@3flex
Copy link
Contributor

3flex commented May 6, 2015

I'm closing this for now. @sangm please comment if you have any information to add and I'll reopen. Thanks!

@3flex 3flex closed this as completed May 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-feedback Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants