Skip to content

Instantly share code, notes, and snippets.

@jeroenr
Created March 16, 2012 09:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeroenr/2049258 to your computer and use it in GitHub Desktop.
Save jeroenr/2049258 to your computer and use it in GitHub Desktop.
Using puppet filebucket example
file { "/etc/apt/trusted.gpg.d/mozilla.gpg":
ensure => present,
source => $operatingsystem ? {
"ubuntu" => "puppet:///elmar/apt/trusted.gpg.d/mozilla_ubuntu.gpg",
"debian" => "puppet:///elmar/apt/trusted.gpg.d/mozilla_debian.gpg",
},
notify => Exec["aptgetupdate"],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment