git dep added to puppet

This commit is contained in:
Jimmy Zelinskie 2013-08-04 02:55:49 -04:00
parent c8c34df277
commit 2a639c2f3b

View file

@ -3,6 +3,8 @@ exec { 'echo this works': }
group { 'puppet': ensure => 'present' } group { 'puppet': ensure => 'present' }
exec { 'chown -R vagrant:vagrant /home/vagrant/': }
exec { 'apt-get update': exec { 'apt-get update':
command => '/usr/bin/apt-get update', command => '/usr/bin/apt-get update',
} }
@ -18,11 +20,16 @@ package { 'python-software-properties':
require => Exec['apt-get update'], require => Exec['apt-get update'],
} }
package { 'git':
ensure => present,
require => Exec['apt-get update'],
}
package { 'golang': package { 'golang':
ensure => present, ensure => present,
require => Exec['go_repo'], require => Exec['go_repo'],
} }
exec { 'echo "export GOPATH=/home/vagrant/chihaya" > /etc/profile.d/gopath.sh': exec { 'echo "export GOPATH=/home/vagrant/chihaya" > /etc/profile.d/gopath.sh':
creates => '/etc/profile.d/gopath.sh', creates => '/etc/profile.d/gopath.sh',
} }