diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-08-04 15:11:58 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-08-04 15:11:58 -0300 |
commit | 42dce5f7c4c1cf612b88c8e433f4102be1eb74f3 (patch) | |
tree | ce480572b1233082eef1841f80b09c44d14a7fbb | |
parent | eb513bc426139b8fa965d04dfd0436cc4fb2637d (diff) | |
download | puppet-nodo-42dce5f7c4c1cf612b88c8e433f4102be1eb74f3.tar.gz puppet-nodo-42dce5f7c4c1cf612b88c8e433f4102be1eb74f3.tar.bz2 |
Supporting per-hostname sudoers file
-rw-r--r-- | manifests/subsystems/locales.pp | 2 | ||||
-rw-r--r-- | manifests/subsystems/sudo.pp | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/manifests/subsystems/locales.pp b/manifests/subsystems/locales.pp index 3bed96f..90bd96c 100644 --- a/manifests/subsystems/locales.pp +++ b/manifests/subsystems/locales.pp @@ -23,6 +23,6 @@ class locales { exec { "locale-gen": refreshonly => true, - subscribe => File["/etc/locale.gen"], + subscribe => File["/etc/locale.gen"], } } diff --git a/manifests/subsystems/sudo.pp b/manifests/subsystems/sudo.pp index c5679fd..3b377ed 100644 --- a/manifests/subsystems/sudo.pp +++ b/manifests/subsystems/sudo.pp @@ -5,7 +5,8 @@ class sudo { } file { "/etc/sudoers": - source => "puppet://$server/modules/nodo/etc/sudoers", + source => [ "puppet://$server/files/etc/sudoers/$hostname", + "puppet://$server/modules/nodo/etc/sudoers" ], owner => "root", group => "root", mode => 440, |