diff options
-rw-r--r-- | files/etc/cron.d/update-monkeysphere-auth | 1 | ||||
-rw-r--r-- | manifests/sshserver.pp | 10 |
2 files changed, 4 insertions, 7 deletions
diff --git a/files/etc/cron.d/update-monkeysphere-auth b/files/etc/cron.d/update-monkeysphere-auth deleted file mode 100644 index 06bb5ae..0000000 --- a/files/etc/cron.d/update-monkeysphere-auth +++ /dev/null @@ -1 +0,0 @@ -*/5 * * * * root /usr/sbin/monkeysphere-authentication update-users diff --git a/manifests/sshserver.pp b/manifests/sshserver.pp index 43c0f6f..43f6a3d 100644 --- a/manifests/sshserver.pp +++ b/manifests/sshserver.pp @@ -10,12 +10,10 @@ class monkeysphere::sshserver { } } - file{'/etc/cron.d/update-monkeysphere-auth': - ensure => present, - source => 'puppet:///modules/monkeysphere/etc/cron.d/update-monkeysphere-auth', + cron {'update-monkeysphere-auth': + command => '/usr/sbin/monkeysphere-authentication update-users', + user => root, + minute => '*/5', require => Package['monkeysphere'], - mode => '0644', - owner => root, - group => root, } } |