0
0
mirror of https://github.com/saltstack-formulas/users-formula.git synced 2024-12-11 08:14:24 +01:00
Commit Graph

12 Commits

Author SHA1 Message Date
Greg Shikhman
097b814f67 Changed 'contents' to 'contents_pillar' to correctly parse newlines for private/public SSH keys. 2014-02-16 23:34:47 -05:00
Wolodja Wentland
9636530169 Change .ssh permissions to 700 2014-02-14 14:13:17 +01:00
Steffen Roegner
0f83ab7008 Add and support ssh_key_type attribute to allow for dsa ssh key pairs 2014-01-31 14:44:41 -05:00
madflojo
7284ece745 change pub key to use user_group
if you set an alternate prime_group this would break, replaced {{ name
}} with {{ user_group }}
2014-01-29 21:00:03 -07:00
madflojo
ebe5198f9d Modified Private Keys and Sudoers
Changed Private keys to have content within pillar rather than the salt
file repository.

Changes sudoers entry to get values from pillar rather than assuming
all sudo users want root.
2014-01-29 19:53:09 -07:00
Tomáš Fejfar
7d1793cf00 SLS no longer fails for multiple groups 2014-01-14 16:49:45 +01:00
tiger-seo
5ce8d7d2c5 possibility to define alternate user`s prime group 2014-01-13 18:20:15 +02:00
Ryan Billington
547db95d62 Fix Undefined jinja variable error with Salt 0.17.1
Ran into an error with Salt version 0.17.1:
Rendering SLS users failed, render error: Undefined jinja variable; line 32

After finding https://github.com/saltstack/salt/issues/8245, and working on
line 32, I surmised that line 28 might be the actual cause of the issue.

I just added a quick check to see if uid exists in user, just as the user uid
line does.
2013-11-14 10:13:45 -06:00
Shawn Butts
f25cec613a better sudoers support & default gid
add support for sudouser being False.
change to adding sudoers config to /etc/sudoers.d/<user>
adding the removal of /etc/sudoers.d/<user> on user removal or switching to sudouser being removed or set to false
2013-10-28 16:39:55 -04:00
J. Random Hacker
b07d21f4c6 Fixed user default shell source
Pulling 'shell' from pillar globally makes no sense, probably a mistake; pulling it from user instead.
2013-09-04 21:30:32 +02:00
J. Random Hacker
7b7ee3f2f8 Fix requisites for user state
group requisites were wrong. They required {{ group }}_group, while {{ group }} was the actually added group.
2013-08-08 13:42:55 +02:00
Ari Lerner
e00fdb22fd Initial commit 2013-06-19 12:53:46 -07:00