From 474a2e9b74bf463eca86daddf9898219f472c1b2 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 20 Oct 2015 13:27:56 -0200 Subject: Sudo: support site-wide config (2) --- manifests/subsystem/sudo.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'manifests/subsystem/sudo.pp') diff --git a/manifests/subsystem/sudo.pp b/manifests/subsystem/sudo.pp index 5ee8ca9..9249379 100644 --- a/manifests/subsystem/sudo.pp +++ b/manifests/subsystem/sudo.pp @@ -4,8 +4,8 @@ class nodo::subsystem::sudo { } file { "/etc/sudoers": - source => [ "puppet:///modules/site_nodo/etc/sudoers/${::hostname}", - "puppet:///modules/site_nodo/etc/sudoers", + source => [ "puppet:///modules/site_nodo/etc/sudoers/hostname/${::hostname}", + "puppet:///modules/site_nodo/etc/sudoers/domain/${::domain}", "puppet:///modules/nodo/etc/sudoers" ], owner => "root", group => "root", -- cgit v1.2.3