ayohrling / local_security_policy

Apache License 2.0
6 stars 28 forks source link

Nil values for Registry policies are not enforced #85

Closed Andy-Adrian closed 4 years ago

Andy-Adrian commented 4 years ago

Example:

local_security_policy { 'Network access: Shares that can be accessed anonymously':
  ensure => present,
  policy_value => nil ,
}

will not be enforced as an empty setting in the OS. The policy in the OS can have any value and it will not be removed. puppet apply does not detect a change is necessary. If the policy is Not Defined in the OS, it will be added with the empty value.