[Puppet Users] creating a subscription to registry creation on a windows machine

2020-12-21 Thread Raghu Ram Baisani
Hi All Is it possible to create a subscription to registry creation so that once registry entry is created then we can restart the box/machine? For creating the registry entry I'm using create_resources function. Thanks Raghuram Baisani -- You received this message because you are subscribed t

[Puppet Users] Re: creating a subscription to registry creation on a windows machine

2020-12-21 Thread KevinR
Hi Raghuram, yes this is achieved with the subscribe meta parameter. For example: registry_value { 'disable_defender': ensure => present, type => dword, path => 'HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\DisableAntiSpyware', value => 1 } reboot { 'regkey_reboot':