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

init/authconfig operatingsystemmajrelease not an int #37

Open
msbattds opened this issue Mar 31, 2016 · 1 comment
Open

init/authconfig operatingsystemmajrelease not an int #37

msbattds opened this issue Mar 31, 2016 · 1 comment

Comments

@msbattds
Copy link

Trying to use v0.6.0 on 4.x (PC1) and getting this error:

puppet agent -t --noop
Notice: Ignoring --listen on onetime run
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Evaluation Error: Comparison of: String >= Integer, is not possible. Caused by 'A String is not comparable to a non String'. at /opt/puppetlabs/puppet/modules/authconfig/manifests/init.pp:104:41 on node puptest.example.com
Warning: Not using cache on failed catalog

Error: Could not retrieve catalog; skipping run

Changing line 104 in init.pp from this:
if $::operatingsystemmajrelease >= 6 {
to
if ($::operatingsystemmajrelease +0) >= 6 {
fixes it

@sean-fabri
Copy link

this is a duplicate of #40

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