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

Another attempt at logging update failures.

parent c0a9fb63
Branches
No related tags found
2 merge requests!50Fix: Puppet Defining "data_provider": "hiera" in metadata.json is deprecated....,!45Devel
Pipeline #132288 passed
#!/usr/bin/bash #!/usr/bin/bash
if [[ $# -gt 0 ]]
then
/home/examadm/tal-cli/on_update.sh | tee /home/examadm/tal-cli/log
exit $?
fi
cd source cd source
python3 -m pip install --user -r scripts/requirements.txt python3 -m pip install --user -r scripts/requirements.txt
......
...@@ -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'],
creates => '/home/examadm/tal-cli/source/tal', creates => '/home/examadm/tal-cli/source/tal',
command => '/home/examadm/tal-cli/on_update.sh | tee /home/examadm/tal-cli/log.txt', command => '/home/examadm/tal-cli/on_update.sh --log',
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