Ensure that git is installed before cloning the RCCN repo

This commit is contained in:
Ciaby 2014-07-16 18:20:08 -05:00
parent ae0f4478df
commit cadd46c90f

View file

@ -124,12 +124,16 @@ class rhizomatica_base_system {
ensure => directory, ensure => directory,
} }
package { 'git':
ensure => present,
}
vcsrepo { '/var/rhizomatica': vcsrepo { '/var/rhizomatica':
ensure => latest, ensure => latest,
provider => git, provider => git,
source => 'https://github.com/Rhizomatica/rccn.git', source => 'https://github.com/Rhizomatica/rccn.git',
revision => 'master', revision => 'master',
require => File['/var/rhizomatica'], require => [ File['/var/rhizomatica'], Package['git'] ],
} }
file { '/var/rhizomatica/rccn/config_values.py': file { '/var/rhizomatica/rccn/config_values.py':