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

disable git pull schedule

parent 4a54be32
No related branches found
No related tags found
No related merge requests found
......@@ -90,6 +90,7 @@ class aes::aes_sw {
creates => "${examadm_home}/scripts",
user => "${examadm_user}",
group => "${examadm_group}",
require => File["${examadm_home}/.ssh/known_hosts"],
}
schedule { 'everyday':
......@@ -98,12 +99,12 @@ class aes::aes_sw {
}
exec { 'script-repo-pull':
command => '/usr/bin/git pull',
command => '/usr/bin/git pull --depth 1',
cwd => "${examadm_home}/scripts",
onlyif => "/usr/bin/test -d ${examadm_home}/scripts/.git",
user => "${examadm_user}",
group => "${examadm_group}",
schedule => 'everyday',
# schedule => 'everyday',
}
file { "${examadm_home}/.ssh/known_hosts":
......
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