Skip to content

Instantly share code, notes, and snippets.

@there4
Created September 4, 2012 21:35
Show Gist options
  • Save there4/3626841 to your computer and use it in GitHub Desktop.
Save there4/3626841 to your computer and use it in GitHub Desktop.
Puppet dotfiles install
class package_dev_tools
{
package
{
'git-core':
ensure => present
}
package
{
'subversion':
ensure => present
}
package
{
'vim':
ensure => present
}
package
{
'curl':
ensure => present
}
package
{
'ack':
ensure => present
}
exec
{
'dotfiles':
creates => '/home/vagrant/.dotfiles',
path => '/bin:/usr/bin',
command => 'su -c "git clone https://github.com/mathiasbynens/dotfiles.git /home/vagrant/.dotfiles && cd /home/vagrant/.dotfiles && ./bootstrap.sh --force" vagrant',
require => Package['git-core']
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment