Ensure that git is installed before cloning the RCCN repo
This commit is contained in:
parent
ae0f4478df
commit
cadd46c90f
1 changed files with 5 additions and 1 deletions
|
@ -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':
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue