aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sudo/manifests/sudoers_config.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/sudo/manifests/sudoers_config.pp')
-rw-r--r--modules/sudo/manifests/sudoers_config.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/sudo/manifests/sudoers_config.pp b/modules/sudo/manifests/sudoers_config.pp
new file mode 100644
index 00000000..29e51c8a
--- /dev/null
+++ b/modules/sudo/manifests/sudoers_config.pp
@@ -0,0 +1,6 @@
+define sudo::sudoers_config($content) {
+ file { "/etc/sudoers.d/$name":
+ mode => '0440',
+ content => $content,
+ }
+}