Update windows_baseline.pp
This commit is contained in:
parent
b16e437d80
commit
f99ca0ab41
@ -2,15 +2,46 @@
|
|||||||
class profile::windows_baseline {
|
class profile::windows_baseline {
|
||||||
|
|
||||||
include chocolatey
|
include chocolatey
|
||||||
|
# PACKAGES
|
||||||
package { 'unzip':
|
Package {
|
||||||
ensure => installed,
|
ensure => installed,
|
||||||
provider => chocolatey,
|
provider => chocolatey,
|
||||||
}
|
}
|
||||||
|
|
||||||
package { 'git':
|
package { 'unzip': }
|
||||||
ensure => installed,
|
package { 'Firefox': }
|
||||||
provider => chocolatey,
|
package { 'git': }
|
||||||
|
|
||||||
|
# FIREWALL
|
||||||
|
windows_firewall::exception { 'TSErule':
|
||||||
|
ensure => present,
|
||||||
|
direction => 'in',
|
||||||
|
action => 'Allow',
|
||||||
|
enabled => 'yes',
|
||||||
|
protocol => 'TCP',
|
||||||
|
local_port => '8080',
|
||||||
|
display_name => 'TSE PUPPET DEMO',
|
||||||
|
description => 'Inbound rule example for demo purposes',
|
||||||
|
}
|
||||||
|
|
||||||
|
# USERS
|
||||||
|
user { 'Puppet Demo':
|
||||||
|
ensure => present,
|
||||||
|
groups => ['Administrators'],
|
||||||
|
}
|
||||||
|
|
||||||
|
# REG KEYS
|
||||||
|
registry_key { 'HKEY_LOCAL_MACHINE\Software\Demonstration':
|
||||||
|
ensure => present,
|
||||||
|
purge_values => true,
|
||||||
|
}
|
||||||
|
registry_value { 'HKEY_LOCAL_MACHINE\Software\Demonstration\value1':
|
||||||
|
type => string,
|
||||||
|
data => 'this is a value new from puppet intro',
|
||||||
|
}
|
||||||
|
registry_value { 'HKEY_LOCAL_MACHINE\Software\Demonstration\value2':
|
||||||
|
type => dword,
|
||||||
|
data => '0xFFFFFFFF',
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user