Commit Graph

16 Commits

Author SHA1 Message Date
Jake Guffey fbdbbddf3b Align messages for "password" parameter
Use same general message if the "password" parameter is given for a FreeBSD target host whether the group exists yet or not
Make language clearer surrounding the default case
2012-06-25 13:29:10 -04:00
Jake Guffey 946d2b9d43 Change order of checks
per telmich's suggestion in https://github.com/telmich/cdist/pull/82/files#r1043875
2012-06-25 13:19:19 -04:00
Jake Guffey f6bd5290b3 Add FreeBSD support
Modified explorer/gshadow to do nothing on FreeBSD (unsupported command)
Modified gencode-remote to use short options (--long not supported in FreeBSD)
2012-06-20 17:14:47 -04:00
Matt Coddington 1f8693a722 case-based exceptions only on OS's where we know they are needed
always use -g instead of --gid when passing arg to groupmod
2012-02-07 17:29:55 -05:00
Matt Coddington acb4644f1e redhat groupmod doesn't support --gid option
redhat groupmod doesn't support password chages
redhat doesn't support getent gshadow
2012-02-06 16:33:37 -05:00
Matt Coddington d53accd57f Subject: [cdist] [BUG] fix for conf/type/__group/gencode-remote
I noticed $current_value was not getting set correctly in
__group/gencode-remote and tracked it down to this trivial fix
(applies to current master).  I'm unfortunately not comfortable enough
with git yet to submit it that way... hopefully this is an appropriate
way to submit:

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-01-20 18:02:28 +01:00
Nico Schottelius 3818548d9a find conf/type -type f -exec sed -i 's/ *$//' {} \;
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-01-09 16:30:52 +01:00
Nico Schottelius 3c37ac0b0f do not fail if nothing todo (__user and __group)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-06 22:24:11 +02:00
Nico Schottelius e464c5aaa2 simplify
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-04 11:04:00 +02:00
Nico Schottelius d49e481a87 match on name: not name, may be invalid
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-04 11:00:15 +02:00
Nico Schottelius 69a17d0b0e remove unecessary set -- "$@"
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-02 14:25:00 +02:00
Nico Schottelius 18e433dd85 import corrected __group from nico/nico
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-02 14:24:20 +02:00
Nico Schottelius c601298760 gencode -> gencode-remote in types
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-19 23:39:01 +01:00
Nico Schottelius cbc8a254f4 +=
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-18 02:11:47 +01:00
Steven Armstrong af0b62ecef update man page for __group type
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-15 23:41:30 +01:00
Steven Armstrong ec99a22db6 add new type __group
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-15 23:37:17 +01:00