diff options
author | Antoine Beaupré <anarcat@koumbit.org> | 2013-10-16 16:07:19 -0400 |
---|---|---|
committer | Antoine Beaupré <anarcat@koumbit.org> | 2013-10-16 16:07:19 -0400 |
commit | db082697788659730e91aa34fa293b8cab7029d9 (patch) | |
tree | 1111bd8843428b1952b1074e100f98e30a80c79d | |
parent | dc884e878793fccf3439ce58c68ad104943ad061 (diff) | |
download | puppet-monkeysphere-db082697788659730e91aa34fa293b8cab7029d9.tar.gz puppet-monkeysphere-db082697788659730e91aa34fa293b8cab7029d9.tar.bz2 |
move away from debian-specific cron.d towards standard cron type
-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, } } |