From: Silvio Rhatto Date: Tue, 30 Jun 2015 21:20:00 +0000 (-0300) Subject: Support for per-hostname rc.local X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=0b14a1848801b252e124bdf64907dab79ab9f3f2;p=puppet-nodo.git Support for per-hostname rc.local --- 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,