aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sudo/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'modules/sudo/manifests')
-rw-r--r--modules/sudo/manifests/init.pp14
1 files changed, 7 insertions, 7 deletions
diff --git a/modules/sudo/manifests/init.pp b/modules/sudo/manifests/init.pp
index c2696e23..3fb5d527 100644
--- a/modules/sudo/manifests/init.pp
+++ b/modules/sudo/manifests/init.pp
@@ -1,19 +1,19 @@
class sudo {
- package { sudo: }
+ package { 'sudo': }
- file { "/etc/sudoers.d":
+ file { '/etc/sudoers.d':
ensure => directory,
- mode => 711,
+ mode => '0711',
}
- file { "/etc/sudoers":
- mode => 440,
- content => template("sudo/sudoers")
+ file { '/etc/sudoers':
+ mode => '0440',
+ content => template('sudo/sudoers'),
}
define sudoers_config($content) {
file { "/etc/sudoers.d/$name":
- mode => 440,
+ mode => '0440',
content => $content,
}
}