From f5dc135360a97f6afb0b4dc87bf78106df6b59f1 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 22 Sep 2011 13:35:44 -0300 Subject: Oops --- manifests/laptop.pp | 16 ++++++++-------- 1 file 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, -- cgit v1.2.3