Created
May 20, 2014 14:01
-
-
Save rafalf/b9b4de51b64072c31c94 to your computer and use it in GitHub Desktop.
puppet: install OS packages
This file contains hidden or 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 install_utilities { | |
package { 'install python': | |
ensure => '2.7.2.5', | |
source => 'C:\Prepfolder\3rdParty\Python\ActivePython-2.7.2.5-win64-x64.msi', | |
install_options => ['/quiet'] | |
} | |
package { 'install notepad': | |
ensure => '6.2.2', | |
source => 'C:\AmazonEnvPrep-v2012\3rdParty\Notepad++\npp.6.2.2.Installer.exe', | |
install_options => ['/S'] | |
} | |
# ...... | |
exec { 'install boto': | |
command => 'Start-Process -Wait -FilePath C:\Python27\Scripts\pip.exe -ArgumentList {install boto}', | |
provider => powershell, | |
logoutput => true, | |
require => Package['install python'], | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment