aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorAntoine Beaupré <anarcat@koumbit.org>2013-10-16 16:07:19 -0400
committerAntoine Beaupré <anarcat@koumbit.org>2013-10-16 16:07:19 -0400
commitdb082697788659730e91aa34fa293b8cab7029d9 (patch)
tree1111bd8843428b1952b1074e100f98e30a80c79d /manifests
parentdc884e878793fccf3439ce58c68ad104943ad061 (diff)
downloadpuppet-monkeysphere-db082697788659730e91aa34fa293b8cab7029d9.tar.gz
puppet-monkeysphere-db082697788659730e91aa34fa293b8cab7029d9.tar.bz2
move away from debian-specific cron.d towards standard cron type
Diffstat (limited to 'manifests')
-rw-r--r--manifests/sshserver.pp10
1 files changed, 4 insertions, 6 deletions
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,
}
}