Working on migrating my manifests to work with Puppet 4.0. Currently on 3.8
and have started to experiment with the future parser (probably not so much
future anymore).
I am stuck on an error that is being reported.
Error: Could not retrieve catalog from remote server: Error 400 on SERVER:
Evaluation Error: Error while evaluating a Function Call, ensure parameter
must be specified at
/etc/puppet/environments/sandbox/modules/sudo/manifests/init.pp:51:2 on
node op1227
The code is a simple check and fail if not met
if ! ($ensure in [ 'present', 'absent' ]) {
fail("sudo 'ensure' parameter must be set to either 'absent' or
'present'")
}
It isn't liking something about the function call fail.
Any help would be appreciated.
Thanks
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/CA%2BNsY5iN4%3DjYvXnppOdnw_KLNZZtunauoF8kodryXLwYcohEhA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.