Update demo_win1.pp
This commit is contained in:
parent
b133320a4d
commit
33f849d48d
@ -1,15 +1,17 @@
|
||||
user { 'ajuric':
|
||||
ensure => present,
|
||||
password => 'Pass!3w0rd',
|
||||
groups => 'test2',
|
||||
auth_membership => inclusive
|
||||
}
|
||||
group { 'demo group':
|
||||
name => 'test2',
|
||||
ensure => present,
|
||||
auth_membership => false,
|
||||
}
|
||||
local_security_policy { 'Log on as a service':
|
||||
ensure => present,
|
||||
policy_value => 'cloudbase-init,NT_SERVICE\ALL_SERVICES,ajuric',
|
||||
if $::kernel == 'windows' {
|
||||
user { 'ajuric':
|
||||
ensure => present,
|
||||
password => 'Pass!3w0rd',
|
||||
groups => 'test2',
|
||||
auth_membership => inclusive
|
||||
}
|
||||
group { 'demo group':
|
||||
name => 'test2',
|
||||
ensure => present,
|
||||
auth_membership => false,
|
||||
}
|
||||
local_security_policy { 'Log on as a service':
|
||||
ensure => present,
|
||||
policy_value => 'cloudbase-init,NT_SERVICE\ALL_SERVICES,ajuric',
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user