Skip to content

Instantly share code, notes, and snippets.

@robbyt
Created February 28, 2011 04:29
Show Gist options
  • Save robbyt/846932 to your computer and use it in GitHub Desktop.
Save robbyt/846932 to your computer and use it in GitHub Desktop.
puppet 2.6 class example
class debian::apt($apt_ver='latest', $dpkg_ver='latest', $aptitude_ver='latest') {
package{'apt': ensure => $apt_ver;
'dpkg': ensure => $dpkg_ver;
'aptitude': ensure => $aptitude_ver;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment