summaryrefslogtreecommitdiffstats
path: root/modules/sudo/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/sudo/manifests/init.pp')
-rw-r--r--modules/sudo/manifests/init.pp10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/sudo/manifests/init.pp b/modules/sudo/manifests/init.pp
new file mode 100644
index 0000000..8a38060
--- /dev/null
+++ b/modules/sudo/manifests/init.pp
@@ -0,0 +1,10 @@
+class sudo {
+ package { "sudo":
+ ensure => 'installed';
+ }
+
+ file { "/etc/sudoers.d/wheel":
+ ensure => present,
+ content => '%wheel ALL=(ALL) ALL';
+ }
+}