aboutsummaryrefslogtreecommitdiffstats
path: root/modules/openssh/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'modules/openssh/manifests')
-rw-r--r--modules/openssh/manifests/ssh_keys_from_ldap.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/openssh/manifests/ssh_keys_from_ldap.pp b/modules/openssh/manifests/ssh_keys_from_ldap.pp
index d70fbeaf..6d23db5b 100644
--- a/modules/openssh/manifests/ssh_keys_from_ldap.pp
+++ b/modules/openssh/manifests/ssh_keys_from_ldap.pp
@@ -9,7 +9,7 @@ class openssh::ssh_keys_from_ldap inherits server {
}
cron { 'sshkey2file':
- command => '/usr/local/bin/ldap-sshkey2file.py',
+ command => '/bin/bash -c "/usr/local/bin/ldap-sshkey2file.py && ( [[ -f /usr/bin/mgagit && -d /var/lib/git/.gitolite ]] && /bin/su -c \'/usr/bin/mgagit glrun\' - git ) ||:"',
hour => '*',
minute => '*/10',
user => 'root',