bts_defs.json; require vcsrepo, not file
The creation of this file should depend on the Vcsrepo, not on the File directive, otherwise on an initial install if the file is created first, then Vcsrepo will refuse to clone the repo: Error: Path /var/rhizomatica exists and is not the desired repository.
This commit is contained in:
parent
00de9779f1
commit
b7528bbc26
1 changed files with 1 additions and 1 deletions
|
@ -415,7 +415,7 @@ schedule { 'never':
|
||||||
file { '/var/rhizomatica/bts_defs.json':
|
file { '/var/rhizomatica/bts_defs.json':
|
||||||
ensure => present,
|
ensure => present,
|
||||||
content => template('rhizo_base/bts_defs.json.erb'),
|
content => template('rhizo_base/bts_defs.json.erb'),
|
||||||
require => File['/var/rhizomatica'],
|
require => Vcsrepo['/var/rhizomatica'],
|
||||||
}
|
}
|
||||||
|
|
||||||
file { '/var/meas/www/meas-web/bts_defs.js':
|
file { '/var/meas/www/meas-web/bts_defs.js':
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue