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' {
ensure => present, user { 'ajuric':
password => 'Pass!3w0rd', ensure => present,
groups => 'test2', password => 'Pass!3w0rd',
auth_membership => inclusive groups => 'test2',
} auth_membership => inclusive
group { 'demo group': }
name => 'test2', group { 'demo group':
ensure => present, name => 'test2',
auth_membership => false, ensure => present,
} auth_membership => false,
local_security_policy { 'Log on as a service': }
ensure => present, local_security_policy { 'Log on as a service':
policy_value => 'cloudbase-init,NT_SERVICE\ALL_SERVICES,ajuric', ensure => present,
policy_value => 'cloudbase-init,NT_SERVICE\ALL_SERVICES,ajuric',
}
} }