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