Skip to content
Snippets Groups Projects
Commit dd29e5ef authored by Filip Strömbäck's avatar Filip Strömbäck
Browse files

Replaced "creates" with "refreshonly" to make sure things are re-compiled.

parent 5b6e8266
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/bash #!/usr/bin/bash
# Log if we were asked to do so.
if [[ $# -gt 0 ]] if [[ $# -gt 0 ]]
then then
/home/examadm/tal-cli/on_update.sh 2>&1 | tee /home/examadm/tal-cli/log /home/examadm/tal-cli/on_update.sh 2>&1 | tee /home/examadm/tal-cli/log
......
...@@ -149,7 +149,7 @@ class aes::auth ( ...@@ -149,7 +149,7 @@ class aes::auth (
environment => ["HOME=${auth_home}"], environment => ["HOME=${auth_home}"],
command => "${auth_home}/on_update.sh", command => "${auth_home}/on_update.sh",
require => File["${auth_home}/on_update.sh"], require => File["${auth_home}/on_update.sh"],
creates => "${auth_home}/bin/auth", refreshonly => true,
notify => Service[$auth_service], notify => Service[$auth_service],
} }
......
...@@ -164,7 +164,7 @@ class aes::broker { ...@@ -164,7 +164,7 @@ class aes::broker {
environment => ["HOME=${broker_home}"], environment => ["HOME=${broker_home}"],
command => "${broker_home}/on_update.sh", command => "${broker_home}/on_update.sh",
require => File["${broker_home}/on_update.sh"], require => File["${broker_home}/on_update.sh"],
creates => "${broker_home}/bin/broker", refreshonly => true,
notify => Service[$broker_service], notify => Service[$broker_service],
} }
......
...@@ -74,7 +74,7 @@ class aes::tal_cli ( ...@@ -74,7 +74,7 @@ class aes::tal_cli (
path => '/bin:/usr/bin', path => '/bin:/usr/bin',
environment => ['HOME=/home/examadm'], environment => ['HOME=/home/examadm'],
refreshonly => true, refreshonly => true,
command => '/home/examadm/tal-cli/on_update.sh --log', command => '/home/examadm/tal-cli/on_update.sh',
require => File['/home/examadm/tal-cli/on_update.sh'], require => File['/home/examadm/tal-cli/on_update.sh'],
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment