diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-09-22 13:35:44 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-09-22 13:35:44 -0300 |
commit | f5dc135360a97f6afb0b4dc87bf78106df6b59f1 (patch) | |
tree | 07fd392f3f9e8ef51b4570663dddb1a579eb8a9d /manifests/laptop.pp | |
parent | 91565006cc4511310f8789a9f9abbe4234054ec0 (diff) | |
download | puppet-nodo-f5dc135360a97f6afb0b4dc87bf78106df6b59f1.tar.gz puppet-nodo-f5dc135360a97f6afb0b4dc87bf78106df6b59f1.tar.bz2 |
Oops
Diffstat (limited to 'manifests/laptop.pp')
-rw-r--r-- | manifests/laptop.pp | 16 |
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, |