aboutsummaryrefslogtreecommitdiff
path: root/manifests/server.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/server.pp')
-rw-r--r--manifests/server.pp18
1 files changed, 4 insertions, 14 deletions
diff --git a/manifests/server.pp b/manifests/server.pp
index 2170d53..15e52ad 100644
--- a/manifests/server.pp
+++ b/manifests/server.pp
@@ -1,21 +1,11 @@
class nodo::server inherits nodo::physical {
# fstab
- file { "/etc/fstab":
- source => "puppet://$server/modules/nodo/etc/fstab/server",
- owner => "root",
- group => "root",
- mode => 0644,
- ensure => present,
- notify => Exec['update-initramfs'],
+ class { 'fstab':
+ type => 'server',
}
# crypttab
- file { "/etc/crypttab":
- source => "puppet://$server/modules/nodo/etc/crypttab/server",
- owner => "root",
- group => "root",
- mode => 0644,
- ensure => present,
- notify => Exec['update-initramfs'],
+ class { 'crypttab':
+ type => 'server',
}
}