0
0
mirror of https://github.com/saltstack-formulas/users-formula.git synced 2024-11-28 02:57:55 +01:00
users-formula/users
Adam Wright 2c58a76ce6 Check for sudo_rules before text.append state.
Since ebe5198f, if a user's pillar dict didn't contain sudo_rules, a broken
file.append state would be rendered (since some text is required). With
this patch, the file is still created/managed by the previous state, but
will be empty by default if created fresh. This seems a more sensible
default than assuming a default sudoer policy.

Further, since the first word on each rule line should be the user's
name, that is now assumed.
2014-02-22 08:43:52 +00:00
..
init.sls Check for sudo_rules before text.append state. 2014-02-22 08:43:52 +00:00
sudo.sls Initial commit 2013-06-19 12:53:46 -07:00