Re-enabled automated code deploy
This commit is contained in:
parent
ea8b2a15d9
commit
996c02155e
1 changed files with 12 additions and 13 deletions
|
@ -149,25 +149,25 @@ class rhizo_base {
|
||||||
require => File['/var/rhizo_backups'],
|
require => File['/var/rhizo_backups'],
|
||||||
}
|
}
|
||||||
|
|
||||||
# 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'], Package['git'] ],
|
require => [ File['/var/rhizomatica'], Package['git'] ],
|
||||||
# notify => [ Exec['install_rccn'], Exec['locale-gen'] ],
|
notify => [ Exec['install_rccn'], Exec['locale-gen'] ],
|
||||||
# }
|
}
|
||||||
|
|
||||||
file { '/var/rhizomatica/rccn/config_values.py':
|
file { '/var/rhizomatica/rccn/config_values.py':
|
||||||
ensure => present,
|
ensure => present,
|
||||||
content => template('rhizo_base/config_values.py.erb'),
|
content => template('rhizo_base/config_values.py.erb'),
|
||||||
# require => Vcsrepo['/var/rhizomatica'],
|
require => Vcsrepo['/var/rhizomatica'],
|
||||||
}
|
}
|
||||||
|
|
||||||
file { '/var/rhizomatica/rai/include/database.php':
|
file { '/var/rhizomatica/rai/include/database.php':
|
||||||
ensure => present,
|
ensure => present,
|
||||||
content => template('rhizo_base/database.php.erb'),
|
content => template('rhizo_base/database.php.erb'),
|
||||||
# require => Vcsrepo['/var/rhizomatica'],
|
require => Vcsrepo['/var/rhizomatica'],
|
||||||
}
|
}
|
||||||
|
|
||||||
exec { 'install_rccn':
|
exec { 'install_rccn':
|
||||||
|
@ -193,14 +193,13 @@ class rhizo_base {
|
||||||
file { '/var/www/html/rai':
|
file { '/var/www/html/rai':
|
||||||
ensure => link,
|
ensure => link,
|
||||||
target => '/var/rhizomatica/rai',
|
target => '/var/rhizomatica/rai',
|
||||||
require => Package['apache2'],
|
require => [ Package['apache2'], Vcsrepo['/var/rhizomatica'] ],
|
||||||
# [ Vcsrepo['/var/rhizomatica'], ],
|
|
||||||
}
|
}
|
||||||
|
|
||||||
file { '/var/www/html/rai/graphs':
|
file { '/var/www/html/rai/graphs':
|
||||||
ensure => link,
|
ensure => link,
|
||||||
target => '/var/rhizomatica/rrd/graphs',
|
target => '/var/rhizomatica/rrd/graphs',
|
||||||
# require => Vcsrepo['/var/rhizomatica'],
|
require => Vcsrepo['/var/rhizomatica'],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue