diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-06-30 18:20:00 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-06-30 18:20:00 -0300 |
commit | 0b14a1848801b252e124bdf64907dab79ab9f3f2 (patch) | |
tree | dfb748d9a1c6d4b02e673e4cdca04375d26ed7d1 | |
parent | 3cf732124419972e790f8fa4a46e51b382e4d6ab (diff) | |
download | puppet-nodo-0b14a1848801b252e124bdf64907dab79ab9f3f2.tar.gz puppet-nodo-0b14a1848801b252e124bdf64907dab79ab9f3f2.tar.bz2 |
Support for per-hostname rc.local
-rw-r--r-- | manifests/subsystem/local.pp | 3 |
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, |