Trying to get an example to run from the registry windows
package https://github.com/puppetlabs/puppetlabs-windows
for some reason it is balking on the example code like so:
Running Puppet agent on demand ...
Info: Using configured environment 'production'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Error: Could not retrieve catalog from remote server: Error 400 on SERVER:
Evaluation Error: Error while evaluating a Resource Statement, Evaluation
Error: No m
atching entry for selector parameter with value 'UNSET' at
/etc/puppetlabs/code/environments/production/modules/registry/manifests/service.pp:51:18
at /etc/pupp
etlabs/code/environments/production/modules/registry/manifests/service_example.pp:20
on node mynode
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
Press any key to continue . . .
Here the lines around /service.pp:51:18 :
$ensure_real = $ensure ? {
UNSET => present,
undef => present,
present => present,
absent => absent,
}
This is the code as provied from git and I'm a newbie to puppet so I don't
much clue what the line
UNSET => present,
is trying to do.
Any ideas?
--
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/9c3daf54-03bb-46cb-b7de-38f73b883c36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.