I created one of the sample module as given on docs.puppet.com on master having a class named critical_policy. The content of the init.pp manifest is:
include critical_policy
class critical_policy {
registry::value { 'Legal Notice Caption':
key => '\HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System',
value => 'legalnoticecaption',
data => 'Legal Notice',
}
registry::value { 'Legal Notice Text':
key => '\HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System',
value => 'legalnoticetext',
data => 'Login constitutes acceptance of end user license agreement',
}
}
The class is included in a corresponding node group. When I try to run puppet agent from windows node, I get the error attached: [C:\fakepath\error.png](/upfiles/14628815348193862.png)
Please help.
↧