aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/subsystems/locales.pp2
-rw-r--r--manifests/subsystems/sudo.pp3
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,