aboutsummaryrefslogtreecommitdiff
path: root/manifests/appliance.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-22 12:56:24 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-22 12:56:24 -0200
commit616d2575015a57407cd0a930b8cd16b0b29aecb6 (patch)
treec19024bf97fd737511a22acd0029fc48cff905c1 /manifests/appliance.pp
parentfb6d9071efc4ebc47d34ed0ab263e55d5ed143a6 (diff)
downloadpuppet-nodo-616d2575015a57407cd0a930b8cd16b0b29aecb6.tar.gz
puppet-nodo-616d2575015a57407cd0a930b8cd16b0b29aecb6.tar.bz2
Adding fstab and crypttab classes
Diffstat (limited to 'manifests/appliance.pp')
-rw-r--r--manifests/appliance.pp18
1 files changed, 4 insertions, 14 deletions
diff --git a/manifests/appliance.pp b/manifests/appliance.pp
index 94da45b..c8e2cc7 100644
--- a/manifests/appliance.pp
+++ b/manifests/appliance.pp
@@ -2,22 +2,12 @@ class nodo::appliance inherits nodo::physical {
include sysctl::appliance
# fstab
- file { "/etc/fstab":
- source => "puppet://$appliance/modules/nodo/etc/fstab/appliance",
- owner => "root",
- group => "root",
- mode => 0644,
- ensure => present,
- notify => Exec['update-initramfs'],
+ class { 'fstab':
+ type => 'appliance',
}
# crypttab
- file { "/etc/crypttab":
- source => "puppet://$appliance/modules/nodo/etc/crypttab/appliance",
- owner => "root",
- group => "root",
- mode => 0644,
- ensure => present,
- notify => Exec['update-initramfs'],
+ class { 'crypttab':
+ type => 'appliance',
}
}