]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Oops
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 22 Sep 2011 16:35:44 +0000 (13:35 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 22 Sep 2011 16:35:44 +0000 (13:35 -0300)
manifests/laptop.pp

index ba5235d5a6000f0c7fc277b8cd1072e65e556716..b3ab499c5409f18bf0504617db4e88142d7b130d 100644 (file)
@@ -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,