files were reversed

This commit is contained in:
Antoine Beaupré 2013-04-24 14:29:04 -04:00
parent 64cc4ce4e6
commit 4aa05ebb49

View file

@ -1,10 +1,9 @@
define sudo::extra-access($ensure = 'present', $user, $access) { define sudo::user-alias ($ensure = 'present', $groupname, $members) {
file { "/etc/sudoers.d/01-user_access-$title": file { "/etc/sudoers.d/00-user_alias-$title":
ensure => $ensure, ensure => $ensure,
owner => root, owner => root,
group => root, group => root,
mode => 440, mode => 440,
content => "# THIS FILE IS MANAGED BY PUPPET !\n\n$user $access\n", content => "# THIS FILE IS MANAGED BY PUPPET !\n\nUser_Alias $groupname = $members\n",
} }
} }