Skip to content

Instantly share code, notes, and snippets.

@caingougou
Last active December 26, 2015 20:39
Show Gist options
  • Save caingougou/7209953 to your computer and use it in GitHub Desktop.
Save caingougou/7209953 to your computer and use it in GitHub Desktop.
puppet configuration
node devbox {
exec { "apt-get update":
user => "root",
path => [
'/bin',
'/usr/bin',
]
}
package { "vim" :
ensure => "installed",
require => Exec['apt-get update'],
}
}
node default inherits devbox {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment