aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-06-30 18:20:00 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-06-30 18:20:00 -0300
commit0b14a1848801b252e124bdf64907dab79ab9f3f2 (patch)
treedfb748d9a1c6d4b02e673e4cdca04375d26ed7d1
parent3cf732124419972e790f8fa4a46e51b382e4d6ab (diff)
downloadpuppet-nodo-0b14a1848801b252e124bdf64907dab79ab9f3f2.tar.gz
puppet-nodo-0b14a1848801b252e124bdf64907dab79ab9f3f2.tar.bz2
Support for per-hostname rc.local
-rw-r--r--manifests/subsystem/local.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/subsystem/local.pp b/manifests/subsystem/local.pp
index be02bbe..7021646 100644
--- a/manifests/subsystem/local.pp
+++ b/manifests/subsystem/local.pp
@@ -1,6 +1,7 @@
class nodo::subsystem::local {
file { "/etc/rc.local":
- source => "puppet:///modules/nodo/etc/rc.local",
+ source => [ "puppet:///modules/site_nodo/etc/rc.local.${::hostname}",
+ "puppet:///modules/nodo/etc/rc.local" ],
owner => "root",
group => "root",
mode => 0755,