include motd
include unbound
include bacula::client
+ include autofs
if $::hostname in [pasquini,tristano,bertali,boito,byrd,clementi,czerny,rossini,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
--- /dev/null
+debian -fstype=nfs,ro,tcp 172.29.122.2:/srv/mirrors/debian
+debian-backports -fstype=nfs,ro,tcp 172.29.122.2:/srv/mirrors/debian-backports
+debian-security -fstype=nfs,ro,tcp 172.29.122.2:/srv/mirrors/debian-security
--- /dev/null
+/auto.dsa /etc/auto.dsa
--- /dev/null
+class autofs::bytemark {
+ package { 'autofs': ensure => installed }
+ package { 'nfs-common': ensure => installed }
+
+ exec { 'autofs reload':
+ path => '/usr/bin:/usr/sbin:/bin:/sbin',
+ command => 'service autofs reload',
+ refreshonly => true,
+ require => Package['autofs'],
+ }
+
+
+ file { '/etc/auto.master.d':
+ source => directory
+ }
+ file { '/etc/auto.master.d/dsa.autofs':
+ source => "puppet:///modules/autofs/bytemark/auto.master.d-dsa.autofs",
+ notify => Exec['autofs reload']
+ }
+ file { '/etc/auto.dsa':
+ source => "puppet:///modules/autofs/bytemark/auto.dsa",
+ notify => Exec['autofs reload']
+ }
+}
--- /dev/null
+class autofs {
+ if $::hostname in [pejacevic, piu-slave-bm-a, picconi] {
+ include autofs::bytemark
+ }
+}