Skip to content

Instantly share code, notes, and snippets.

@nelsonsar
Created July 28, 2013 20:42
Show Gist options
  • Save nelsonsar/6100149 to your computer and use it in GitHub Desktop.
Save nelsonsar/6100149 to your computer and use it in GitHub Desktop.
Puppet stage feature
Exec { path => [ "/bin/", "/sbin/" , "/usr/bin/", "/usr/sbin/" ] }
stage { 'preinstall':
before => Stage['main']
}
class apt_get_update {
exec { 'apt-get -y update': }
}
class { 'apt_get_update':
stage => preinstall
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment