aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-09-22 14:14:42 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-09-22 14:14:42 -0300
commit5ec1de36941609b1a5a3edeabffe6d4e7e7c379c (patch)
tree3a105e5d99b8c068b7abe8147d69ee573fc0da6a
parent9940d360dcfa0736438bb3a93e1851f7c54d2204 (diff)
downloadpuppet-nodo-5ec1de36941609b1a5a3edeabffe6d4e7e7c379c.tar.gz
puppet-nodo-5ec1de36941609b1a5a3edeabffe6d4e7e7c379c.tar.bz2
Subscribing fs config files to update-initramfs
-rw-r--r--manifests/appliance.pp2
-rw-r--r--manifests/desktop.pp2
-rw-r--r--manifests/server.pp2
3 files changed, 6 insertions, 0 deletions
diff --git a/manifests/appliance.pp b/manifests/appliance.pp
index d361196..ff00340 100644
--- a/manifests/appliance.pp
+++ b/manifests/appliance.pp
@@ -6,6 +6,7 @@ class nodo::appliance inherits nodo::physical {
group => "root",
mode => 0644,
ensure => present,
+ notify => Exec['update-initramfs'],
}
# crypttab
@@ -15,5 +16,6 @@ class nodo::appliance inherits nodo::physical {
group => "root",
mode => 0644,
ensure => present,
+ notify => Exec['update-initramfs'],
}
}
diff --git a/manifests/desktop.pp b/manifests/desktop.pp
index 78b2e30..2cfc05b 100644
--- a/manifests/desktop.pp
+++ b/manifests/desktop.pp
@@ -9,6 +9,7 @@ class nodo::desktop inherits nodo::personal {
group => "root",
mode => 0644,
ensure => present,
+ notify => Exec['update-initramfs'],
}
}
@@ -20,6 +21,7 @@ class nodo::desktop inherits nodo::personal {
group => "root",
mode => 0644,
ensure => present,
+ notify => Exec['update-initramfs'],
}
}
}
diff --git a/manifests/server.pp b/manifests/server.pp
index 2300889..2170d53 100644
--- a/manifests/server.pp
+++ b/manifests/server.pp
@@ -6,6 +6,7 @@ class nodo::server inherits nodo::physical {
group => "root",
mode => 0644,
ensure => present,
+ notify => Exec['update-initramfs'],
}
# crypttab
@@ -15,5 +16,6 @@ class nodo::server inherits nodo::physical {
group => "root",
mode => 0644,
ensure => present,
+ notify => Exec['update-initramfs'],
}
}