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