Update demo_win1.pp

This commit is contained in:
tonyjuric 2019-11-07 10:41:48 +11:00 committed by GitHub
parent b133320a4d
commit 33f849d48d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,15 +1,17 @@
user { 'ajuric': if $::kernel == 'windows' {
user { 'ajuric':
ensure => present, ensure => present,
password => 'Pass!3w0rd', password => 'Pass!3w0rd',
groups => 'test2', groups => 'test2',
auth_membership => inclusive auth_membership => inclusive
} }
group { 'demo group': group { 'demo group':
name => 'test2', name => 'test2',
ensure => present, ensure => present,
auth_membership => false, auth_membership => false,
} }
local_security_policy { 'Log on as a service': local_security_policy { 'Log on as a service':
ensure => present, ensure => present,
policy_value => 'cloudbase-init,NT_SERVICE\ALL_SERVICES,ajuric', policy_value => 'cloudbase-init,NT_SERVICE\ALL_SERVICES,ajuric',
}
} }