aboutsummaryrefslogtreecommitdiff
path: root/manifests/laptop.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/laptop.pp')
-rw-r--r--manifests/laptop.pp16
1 files changed, 8 insertions, 8 deletions
diff --git a/manifests/laptop.pp b/manifests/laptop.pp
index ba5235d..b3ab499 100644
--- a/manifests/laptop.pp
+++ b/manifests/laptop.pp
@@ -9,12 +9,12 @@ class nodo::laptop inherits nodo::personal {
# fstab
if $fstab != false {
file { "/etc/fstab":
- source => "puppet://$server/modules/nodo/etc/fstab/laptop",
- owner => "root",
- group => "root",
- mode => 0644,
- ensure => present,
- subscribe => Exec['update-initramfs],
+ source => "puppet://$server/modules/nodo/etc/fstab/laptop",
+ owner => "root",
+ group => "root",
+ mode => 0644,
+ ensure => present,
+ notify => Exec['update-initramfs],
}
}
@@ -29,7 +29,7 @@ class nodo::laptop inherits nodo::personal {
group => "root",
mode => 0644,
ensure => present,
- subscribe => Exec['update-initramfs],
+ notify => Exec['update-initramfs],
}
# hibernation
@@ -38,7 +38,7 @@ class nodo::laptop inherits nodo::personal {
group => "root",
mode => 0644,
content => "RESUME=/dev/mapper/cswap",
- subscribe => Exec['update-initramfs],
+ notify => Exec['update-initramfs],
ensure => $hibernate ? {
false => absent,
default => present,