puppet service_example on windows

21 views
Skip to first unread message

grant little

unread,
Apr 22, 2016, 5:25:53 PM4/22/16
to Puppet Users
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? 

Reply all
Reply to author
Forward
0 new messages