Skip to content

Instantly share code, notes, and snippets.

@frankscholten
Created October 3, 2012 11:30
Show Gist options
  • Save frankscholten/3826489 to your computer and use it in GitHub Desktop.
Save frankscholten/3826489 to your computer and use it in GitHub Desktop.
Installing packages with Puppet hashes
$gems = {
{ "rubygems" => { version => "1.3.6" }},
{ "vagrant" => { version => "1.0.5" }},
{ "sahara" => { version => "0.0.13" }}
}
package { $gems[gem]:
ensure => $gems[version],
provider => gem,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment