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
2 merge requests!50Fix: Puppet Defining "data_provider": "hiera" in metadata.json is deprecated....,!45Devel
Pipeline #132292 passed
#!/usr/bin/bash
# Log if we were asked to do so.
if [[ $# -gt 0 ]]
then
/home/examadm/tal-cli/on_update.sh 2>&1 | tee /home/examadm/tal-cli/log
......
......@@ -149,7 +149,7 @@ class aes::auth (
environment => ["HOME=${auth_home}"],
command => "${auth_home}/on_update.sh",
require => File["${auth_home}/on_update.sh"],
creates => "${auth_home}/bin/auth",
refreshonly => true,
notify => Service[$auth_service],
}
......
......@@ -164,7 +164,7 @@ class aes::broker {
environment => ["HOME=${broker_home}"],
command => "${broker_home}/on_update.sh",
require => File["${broker_home}/on_update.sh"],
creates => "${broker_home}/bin/broker",
refreshonly => true,
notify => Service[$broker_service],
}
......
......@@ -74,7 +74,7 @@ class aes::tal_cli (
path => '/bin:/usr/bin',
environment => ['HOME=/home/examadm'],
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'],
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment