Skip to content

Instantly share code, notes, and snippets.

@jjl
Created November 19, 2013 16:27
Show Gist options
  • Save jjl/7548086 to your computer and use it in GitHub Desktop.
Save jjl/7548086 to your computer and use it in GitHub Desktop.
Useful puppet snippets
ppa::repo { 'chris-lea/node.js':
ensure => present,
apt_key => "C7917B12",
} -> Exec["apt-get update"]
ppa::repo { 'cassou/emacs':
ensure => present,
apt_key => "CEC45805",
} -> Exec["apt-get update"]
exec {"apt-get update":
command => '/usr/bin/apt-get update',
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment