diff options
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 2 | ||||
-rw-r--r-- | manifests/subsystems/mount.pp | 15 |
2 files changed, 17 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 083d29c..e45e65e 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -56,6 +56,7 @@ import "mpd" import "bitcoind" import "rsync" import "runit" +import "autofs" # Import subsystems import "subsystems/firewire.pp" @@ -81,6 +82,7 @@ import "subsystems/schroot.pp" import "subsystems/resolver.pp" import "subsystems/domain.pp" import "subsystems/dhclient.pp" +import "subsystems/mount.pp" import "subsystems/utils.pp" import "subsystems/utils/debian.pp" import "subsystems/utils/desktop.pp" diff --git a/manifests/subsystems/mount.pp b/manifests/subsystems/mount.pp new file mode 100644 index 0000000..7e2f4b6 --- /dev/null +++ b/manifests/subsystems/mount.pp @@ -0,0 +1,15 @@ +class mount { + class { autofs: } + + file { '/etc/auto.removable': + source => [ "puppet:///modules/site-nodo/etc/${::fqdn}/auto.removable", + "puppet:///modules/site-nodo/etc/${::domain}/auto.removable", + "puppet:///modules/site-nodo/etc/auto.removable", + "puppet:///modules/nodo/etc/auto.removable.${::operatingssystem}", + "puppet:///modules/nodo/etc/auto.removable" ], + notify => Service[autofs], + owner => root, + group => root, + mode => 0644; + } +} |