aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-08-08 21:29:36 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-08-08 21:29:36 -0300
commit1b620538116822f086ecf603beef52095d56c74a (patch)
tree4bedf65bf82b1cc64e087495838ffa24b29a3ec4 /manifests
parent40f7f37354e275d7e9415c3838cdfab9a968c04c (diff)
downloadpuppet-nodo-1b620538116822f086ecf603beef52095d56c74a.tar.gz
puppet-nodo-1b620538116822f086ecf603beef52095d56c74a.tar.bz2
Adding nodo::appliance
Diffstat (limited to 'manifests')
-rw-r--r--manifests/appliance.pp19
-rw-r--r--manifests/init.pp1
2 files changed, 20 insertions, 0 deletions
diff --git a/manifests/appliance.pp b/manifests/appliance.pp
new file mode 100644
index 0000000..d361196
--- /dev/null
+++ b/manifests/appliance.pp
@@ -0,0 +1,19 @@
+class nodo::appliance inherits nodo::physical {
+ # fstab
+ file { "/etc/fstab":
+ source => "puppet://$appliance/modules/nodo/etc/fstab/appliance",
+ owner => "root",
+ group => "root",
+ mode => 0644,
+ ensure => present,
+ }
+
+ # crypttab
+ file { "/etc/crypttab":
+ source => "puppet://$appliance/modules/nodo/etc/crypttab/appliance",
+ owner => "root",
+ group => "root",
+ mode => 0644,
+ ensure => present,
+ }
+}
diff --git a/manifests/init.pp b/manifests/init.pp
index 8721edd..ca4725f 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -91,3 +91,4 @@ import "test.pp"
import "removable.pp"
import "laptop.pp"
import "plug.pp"
+import "appliance.pp"