Skip to content
Snippets Groups Projects
Commit 1ea60afd authored by Klas Arvidsson's avatar Klas Arvidsson
Browse files

absolute path for onlyif test

parent d2123912
No related branches found
No related tags found
No related merge requests found
......@@ -100,7 +100,7 @@ class aes::aes_sw {
exec { 'script-repo-pull':
command => '/usr/bin/git pull',
cwd => "${examadm_home}/scripts",
onlyif => "test -d ${examadm_home}/scripts/.git",
onlyif => "/usr/bin/test -d ${examadm_home}/scripts/.git",
user => "${examadm_user}",
group => "${examadm_group}",
schedule => 'everyday',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment