When attempting to run the following code on Chef Client 15.10.12
windows_user_privilege 'domain\user' do
privilege %w(SeServiceLogonRight)
action :add
end
It always skips it with "up to date", but yet the account is not been added to the Logon As A Service right.
Any ideas?
It would appear that the ‘users’ property for that resource is not the name so it can’t be passed in as such.
‘users’ has to be passed in as an array within the resource.
Whit
I tried using the users property, but that appears to only be valid for newer versions on the chef client. My V15 said it was an invalid property