Skip to content

Instantly share code, notes, and snippets.

@nicolanrizzo
Created November 19, 2016 16:23
Show Gist options
  • Save nicolanrizzo/49a4a9ebc072d3f9f540bbf8ec794816 to your computer and use it in GitHub Desktop.
Save nicolanrizzo/49a4a9ebc072d3f9f540bbf8ec794816 to your computer and use it in GitHub Desktop.
Install git from Puppet
Exec { path => [ '/bin/', '/sbin/' , '/usr/bin/', '/usr/sbin/'] }
exec { "install_git":
command => "apt-get install -y git-all",
require => [ Exec['apt_update'] ],
}
exec { "apt_update":
command => "apt-get update",
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment