Skip to content

init/authconfig operatingsystemmajrelease not an int #37

Description

@msbattds

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions