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?