mirror of
https://github.com/saltstack-formulas/users-formula.git
synced 2026-08-03 17:38:00 +02:00
2c58a76ce64004a2fc7e6097f417713a89512558
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.
users ===== Configure users via pillar
Languages
SaltStack
55.6%
Ruby
11.9%
Vim script
11.5%
JavaScript
9.4%
Jinja
7.1%
Other
4.5%