From: Silvio Rhatto Date: Thu, 22 Sep 2011 16:35:44 +0000 (-0300) Subject: Oops X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=f5dc135360a97f6afb0b4dc87bf78106df6b59f1;p=puppet-nodo.git Oops --- 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,