ayohrling / local_security_policy

Apache License 2.0
6 stars 28 forks source link

'local_security_policy' for "Allow log on locally" - repeating output in multiple Puppet Apply #124

Closed scooby-dont closed 1 year ago

scooby-dont commented 2 years ago

Trying

#Allow log on Locally
$allowlogonlocally_account = lookup('tmcservices::roles::fred_irdp::allowlogonlocally_account')
local_security_policy {'Allow log on locally':
  ensure       => present,
  policy_value => 'rights-irdp-allow_logon_locally,Administrators',

The command works , but the next Puppet Apply generated the same output.

Output Notice: /Stage[main]/Tmcservices::Roles::fred_irdp/Local_security_policy[Allow log on locally]/policy_value: policy_value changed '*S-1-5-32-544,*S-1-5-21-951524318-4275216300-259598448-1027' to '*S-1-5-21-951524318-4275216300-259598448-1027,*S-1-5-32-544'

The order of the "Policy_value" valuse makes no difference.
This is on a Windows Server 2016