提交图

16 提交

作者 SHA1 备注 提交日期
Micah Anderson
5b6d816776 fix parameter variable 2013-06-22 14:24:47 -04:00
Antoine Beaupré
a47e787de8 always install the sudo package 2013-06-22 13:40:28 -04:00
Antoine Beaupré
6b8fb05ac9 remove duplicate code between linux and freebsd
now everything is managed through parameters

we still don't install the package on platforms other than freebsd and
linux to respect the current policy, so this actually is just a refactoring
2013-06-22 13:40:28 -04:00
Antoine Beaupré
92073a7370 make the path sudoers a parameter too
this simplifies the freebsd code greatly
2013-06-22 13:40:28 -04:00
Antoine Beaupré
6df937e3ed use Smart Parameter Defaults pattern to fix freebsd path 2013-06-22 13:40:28 -04:00
Antoine Beaupré
7812183189 sudoersdir/dir to avoid redundancy 2013-06-22 12:58:08 -04:00
Antoine Beaupré
7f3f14f084 fix syntax error in 2.6 2013-06-22 12:54:50 -04:00
Antoine Beaupré
f02dcffe22 make the sudoers directory parametrized 2013-06-22 12:38:41 -04:00
mh
8fb70213a0 take hiera out of the params 2012-06-14 10:56:01 -03:00
mh
57480e6e9a refactor things for >2.7 2012-06-08 13:18:33 -03:00
Gabriel Filion
feac8168df Add FreeBSD support
FreeBSD does things its own way, sometimes.. The sudoers file is found
in /usr/local/etc instead of /etc.

Add this distinction in the manifests and also add a default sudoers
file for FreeBSD so that it sets up sudo access for the wheel group, as
is the default on this OS.

Finally, ensure that FreeBSD servers install the 'sudo' package.

Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2011-01-26 09:02:50 -05:00
mh
d7ed7c2565 update to 0.25.x style 2009-11-14 16:02:48 +01:00
mh
4e5141239c update file path to new 0.25 style 2009-11-02 00:52:46 +01:00
mh
23d37cd17d variable should be server not source 2009-05-14 20:53:29 +02:00
mh
8a8719c7a1 if $sudo_deploy_sudoers is set, we deploy now a sudoers file as well 2009-01-26 21:23:46 +00:00
mh
5a74487d53 added sudo module 2009-01-25 22:36:24 +00:00