MEAS: make sure the pipe is a pipe

This commit is contained in:
Keith Whyte 2020-04-28 23:52:41 +02:00
parent be9d9573b8
commit e2e8c76b70
2 changed files with 4 additions and 0 deletions

View file

@ -2,6 +2,9 @@
exec 2>&1 exec 2>&1
if [ ! -p /tmp/json_pipe ] ; then if [ ! -p /tmp/json_pipe ] ; then
if [ -f /tmp/json_pipe ] ; then
rm -f /tmp/json_pipe
fi
mkfifo /tmp/json_pipe mkfifo /tmp/json_pipe
fi fi

View file

@ -363,6 +363,7 @@ schedule { 'repo':
file { '/var/meas/www/meas-web/bts_defs.js': file { '/var/meas/www/meas-web/bts_defs.js':
ensure => present, ensure => present,
content => template('rhizo_base/bts_defs.js.erb'), content => template('rhizo_base/bts_defs.js.erb'),
require => Vcsrepo['/var/meas'],
} }
file { '/var/rhizomatica/bin/get_account_balance.sh': file { '/var/rhizomatica/bin/get_account_balance.sh':