From 99d7b92b063710c0d076305200daad61587505cf Mon Sep 17 00:00:00 2001 From: Ash Berlin Date: Mon, 28 Apr 2014 17:39:45 +0100 Subject: [PATCH] Ensure that we are sudo includes /etc/sudoers.d It doesn't by default everywhere - without this the sudo_rules option won't work --- users/sudo.sls | 1 + 1 file changed, 1 insertion(+) diff --git a/users/sudo.sls b/users/sudo.sls index bdcc7e6..1426aef 100644 --- a/users/sudo.sls +++ b/users/sudo.sls @@ -20,3 +20,4 @@ sudoer-defaults: - text: - Defaults env_reset - Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" + - '#includedir /etc/sudoers.d'