Created
January 24, 2014 20:01
-
-
Save dalssoft/8605077 to your computer and use it in GitHub Desktop.
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
group { 'puppet': | |
ensure => present | |
} -> | |
exec { 'apt-get update': | |
command => '/usr/bin/apt-get update', | |
timeout => 0 | |
} -> | |
package { ['python-software-properties']: | |
ensure => present | |
} -> | |
exec { 'add-repository nodejs': | |
command => '/usr/bin/add-apt-repository ppa:chris-lea/node.js', | |
unless => '/usr/bin/apt-key list | grep node' | |
} -> | |
exec { 'apt-get update2': | |
command => '/usr/bin/apt-get update', | |
timeout => 0 | |
} -> | |
package { ['git', 'mysql-server', 'nodejs', 'figlet', 'libfontconfig1', 'graphicsmagick', 'curl', 'make', 'g++']: | |
ensure => present | |
} -> | |
exec { "install-coffee": | |
command => "/usr/bin/sudo /usr/bin/npm install -g coffee-script", | |
path => "/usr/local/bin", | |
unless => "/usr/bin/which coffee" | |
} -> | |
exec { "install-forever": | |
command => "/usr/bin/sudo /usr/bin/npm install -g forever", | |
path => "/usr/local/bin", | |
unless => "/usr/bin/which forever" | |
} | |
exec { "install-phantomjs": | |
command => "/usr/bin/sudo /usr/bin/npm install -g phantomjs", | |
path => "/usr/local/bin", | |
unless => "/usr/bin/which phantomjs" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment