include autofs
include lvm
include multipath
- include roles::pubsub::client
+ if $::lsbdistcodename == squeeze {
+ include roles::udlap::client
+ } else {
+ include roles::pubsub::client
+ class { 'roles::udlap::client':
+ ensure => absent
+ }
+ }
if $::hostname in [pasquini,tristano,bertali,boito,rossini,salieri,dijkstra,luchesi,byrd,clementi,czerny,bm-bl1,bm-bl2,bm-bl3,bm-bl4,bm-bl5,bm-bl6,bm-bl7,bm-bl8,bm-bl9,bm-bl10,bm-bl11,bm-bl12,bm-bl13,bm-bl14] {
include ganeti2
}
-
if $::hostname == 'dinis' {
include bacula::director
} else {
--- /dev/null
+# = Class: roles::udldap::client
+#
+# Client config for udldap client
+#
+# == Sample Usage:
+#
+# include roles::udldap::client
+#
+class roles::udldap::client ($ensure=present) {
+
+ cron { 'udreplicate':
+ ensure => $ensure,
+ environment => 'TERM=dumb',
+ command => '/usr/sbin/ud-replicate',
+ user => root,
+ hour => '*',
+ minute => [10,25,40,55],
+ }
+}