Let's see if it works... ;)
This commit is contained in:
parent
18d9aa4a23
commit
ae0f4478df
1 changed files with 15 additions and 5 deletions
|
@ -124,14 +124,24 @@ class rhizomatica_base_system {
|
||||||
ensure => directory,
|
ensure => directory,
|
||||||
}
|
}
|
||||||
|
|
||||||
file { '/home/rhizomatica/config_values.py':
|
vcsrepo { '/var/rhizomatica':
|
||||||
ensure => present,
|
ensure => latest,
|
||||||
content => template('rhizomatica_base_system/config_values.py.erb'),
|
provider => git,
|
||||||
|
source => 'https://github.com/Rhizomatica/rccn.git',
|
||||||
|
revision => 'master',
|
||||||
|
require => File['/var/rhizomatica'],
|
||||||
}
|
}
|
||||||
|
|
||||||
file { '/var/www/rmai':
|
file { '/var/rhizomatica/rccn/config_values.py':
|
||||||
|
ensure => present,
|
||||||
|
content => template('rhizomatica_base_system/config_values.py.erb'),
|
||||||
|
require => Vcsrepo['/var/rhizomatica'],
|
||||||
|
}
|
||||||
|
|
||||||
|
file { '/var/www/rai':
|
||||||
ensure => link,
|
ensure => link,
|
||||||
target => '/var/rhizomatica/rmai',
|
target => '/var/rhizomatica/rai',
|
||||||
|
require => Vcsrepo['/var/rhizomatica'],
|
||||||
}
|
}
|
||||||
|
|
||||||
#PostgreSQL server
|
#PostgreSQL server
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue