Antoine Beaupré
f4f40c5718
autoloading fix
2013-06-22 13:40:28 -04:00
Antoine Beaupré
81c6a5f6d0
style
2013-06-22 12:58:45 -04:00
Antoine Beaupré
7812183189
sudoersdir/dir to avoid redundancy
2013-06-22 12:58:08 -04:00
Antoine Beaupré
e3eef47070
fix syntax error
2013-06-22 12:55:28 -04:00
Antoine Beaupré
7f3f14f084
fix syntax error in 2.6
2013-06-22 12:54:50 -04:00
Antoine Beaupré
b3d158a696
make the user default work
2013-06-22 12:50:49 -04:00
Antoine Beaupré
f02dcffe22
make the sudoers directory parametrized
2013-06-22 12:38:41 -04:00
Antoine Beaupré
b6cd3ed6ce
Merge remote-tracking branch 'shared/master'
...
Conflicts:
manifests/init.pp
2013-06-22 12:29:48 -04:00
Gabriel Filion
3ac9c6fbb3
rename user-alias to user_alias
...
the name is good but we'd like to avoid dashes since it's deprecated
starting with puppet 2.7
2013-04-25 19:00:31 -04:00
Gabriel Filion
9c4d6fc6ec
lint manifests
...
respect style from best practices. this makes the code a lot easier to
read.
also change groups from "root" to "0" to make them more portable (e.g.
in freebsd, the admin group is "wheel" but has gid "0")
2013-04-25 18:58:04 -04:00
Gabriel Filion
d705c23880
change name to "access"
...
the term is more generic and avoids dashes in the name (which are
deprecated from puppet 2.7)
2013-04-25 18:51:18 -04:00
Antoine Beaupré
afb1b24143
remove needless else clause
2013-04-24 16:08:42 -04:00
Antoine Beaupré
855e89eda2
style
2013-04-24 16:06:13 -04:00
Antoine Beaupré
9b44575264
make the filename use title so that overrides don't leave files behind
2013-04-24 16:05:38 -04:00
Antoine Beaupré
d996ff9797
style
2013-04-24 16:04:45 -04:00
Antoine Beaupré
bf7c40b7f4
explaine again
2013-04-24 16:04:12 -04:00
Antoine Beaupré
6800b023a9
explain a little
2013-04-24 16:03:41 -04:00
Antoine Beaupré
153a9e8348
fix modes
2013-04-24 15:35:33 -04:00
Antoine Beaupré
02624d72aa
cosmetic
2013-04-24 15:28:49 -04:00
Antoine Beaupré
845161de0a
don't use non-existent admin group
2013-04-24 15:27:25 -04:00
Antoine Beaupré
a5dc3d88fd
add back the user parameter
...
it seems we can discriminate on the name parameter, it gives us duplicates as both title and name need to be unique
2013-04-24 15:23:55 -04:00
Antoine Beaupré
1bc29f5ff5
use the builtin name variable instead of creating a new one
...
this allows us to simplify the manifests by using:
extra-access { 'user': }
.. instead of having to explicitely set it.
if we need to have multiple users, we can do:
extra-access { 'user_foo': name => 'user' }
2013-04-24 14:42:06 -04:00
Antoine Beaupré
819abc4863
add sane defaults for access
2013-04-24 14:35:25 -04:00
Antoine Beaupré
8f4a33e33b
remove notification on apache2 service
2013-04-24 14:33:32 -04:00
Antoine Beaupré
4aa05ebb49
files were reversed
2013-04-24 14:29:04 -04:00
Antoine Beaupré
64cc4ce4e6
remove backward compat, belongs to koumbit module
2013-04-24 14:28:33 -04:00
Antoine Beaupré
d803e23589
remove backward compat, belongs to koumbit module
2013-04-24 14:28:33 -04:00
Antoine Beaupré
b90df6b916
remove koumbit namespace
2013-04-24 14:28:33 -04:00
Antoine Beaupré
f4e1c13e7c
move extra-access to autoloading rules
2013-04-24 14:28:32 -04:00
Guillaume Beaulieu
0cd13c203b
Respect the autoloader
2013-04-24 14:01:34 -04:00
Guillaume Beaulieu
74e867802c
Initial commit !
2013-04-24 13:44:04 -04:00
Guillaume Beaulieu
84afd1d3c3
Premier commit
2013-04-23 15:59:32 -04:00
Guillaume Beaulieu
d5a1bcaf37
Some fucking class that have some fukcing class
2013-04-22 16:37:17 -04:00
Guillaume Beaulieu
e7dee07acf
First commit, just some crap that was in koumbit for no reason !
2013-04-22 16:00:28 -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
91ff246251
remove unnecessary fileserver variable ( #2460 )
2010-08-07 02:12:28 +02: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