Created
June 16, 2015 20:46
-
-
Save velocity303/2da921a55a2bb0fa513e to your computer and use it in GitHub Desktop.
Win Setup Profile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class profile::windows::win_setup { | |
include registry::service_example | |
include registry::compliance_example | |
file {'C:\windirstat1_1_2_setup.exe': | |
ensure => present, | |
source => 'puppet:///modules/profile/windirstat1_1_2_setup.exe', | |
} | |
package { 'WinDirStat 1.1.2': | |
ensure => present, | |
source => 'C:\windirstat1_1_2_setup.exe', | |
install_options => '/S', | |
require => File['C:\windirstat1_1_2_setup.exe'], | |
} | |
windows_firewall::exception { 'WINRM': | |
ensure => present, | |
direction => 'in', | |
action => 'Allow', | |
enabled => 'yes', | |
protocol => 'TCP', | |
local_port => '5985', | |
display_name => 'Windows Remote Management HTTP-In', | |
description => 'Inbound rule for Windows Remote Management via WS-Management. [TCP 5985]', | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment