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.
Example:
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.