aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-12-15 20:27:06 -0200
committerSilvio Rhatto <rhatto@riseup.net>2012-12-15 20:27:06 -0200
commit75f4578be31ef69f54b2a1ec1003506f3e49ddae (patch)
tree9d0b6b84a07a48e2fea969b0cc06f50feeb32c69 /manifests/subsystems
parentcece72d726043ebe43d83f9bf56cf52f7cd02148 (diff)
downloadpuppet-nodo-75f4578be31ef69f54b2a1ec1003506f3e49ddae.tar.gz
puppet-nodo-75f4578be31ef69f54b2a1ec1003506f3e49ddae.tar.bz2
Adding mount class
Diffstat (limited to 'manifests/subsystems')
-rw-r--r--manifests/subsystems/mount.pp15
1 files changed, 15 insertions, 0 deletions
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;
+ }
+}