From d9ddc5dd117fc5df4c4969d25dbc50183646c339 Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Fri, 10 Mar 2023 00:08:10 +0100 Subject: [PATCH] updated sudo state --- states/sudo/config.sls | 2 +- states/sudo/{ => templates}/sudoers.j2 | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) rename states/sudo/{ => templates}/sudoers.j2 (99%) diff --git a/states/sudo/config.sls b/states/sudo/config.sls index c56e36c..8ae03fa 100644 --- a/states/sudo/config.sls +++ b/states/sudo/config.sls @@ -3,7 +3,7 @@ sudo-sudoers: file.managed: - name: /etc/sudoers - - source: salt://sudo/sudoers.j2 + - source: salt://sudo/templates/sudoers.j2 - user: root - group: root - mode: 0660 diff --git a/states/sudo/sudoers.j2 b/states/sudo/templates/sudoers.j2 similarity index 99% rename from states/sudo/sudoers.j2 rename to states/sudo/templates/sudoers.j2 index fe538e9..5743b34 100644 --- a/states/sudo/sudoers.j2 +++ b/states/sudo/templates/sudoers.j2 @@ -14,4 +14,3 @@ Defaults {{ default }} {%- endif %} #includedir /etc/sudoers.d -