Raphaël Hertzog
43c4707d2a
Do not try to run git config when git is not available
The state will not fail gracefully, instead you will get
an error like this one:
ID: users_rhertzog_user_gitconfig_0
Function: git.config_set
Name: alias.br
Result: False
Comment: State 'git.config_set' was not found in SLS 'users'
Reason: 'git' __virtual__ returned False
Changes:
And since pillar data can't be (easily) tuned according to minion's
status, we really need this check here.
My tests with Salt 2017.7.3 have shown that cmd.has_exec() is reliable
for this, contrary the what the comment was implying.
6 years ago
Javier Bértoli
2844c9091e
Merge pull request #162 from kossmac/master
Use correct pillar to set users homephone
7 years ago
Karsten Kosmala
fdc5ceae2c
Use correct pillar to set users homephone
7 years ago
Niels Abspoel
a4c1e98a55
Merge pull request #133 from luitzifa/multiple-key-support
add support for multiple private and public keys
7 years ago
Daniel Kraemer
d8d2017629
adjust file permissions of public ssh-keys
7 years ago
Daniel Kraemer
c78516f8e0
i don't know what made me do this, maybe brainlag
7 years ago
Niels Abspoel
a133ef1c8b
Merge pull request #161 from qno/master
corrected saltversioninfo check expression
7 years ago
Silvio Kunaschk
ac1f334a43
corrected saltversioninfo check expression
7 years ago
Niels Abspoel
f985f2689d
Merge pull request #160 from jerryjvl/master
Broken conditional and lack of line spacing
7 years ago
Jerry van Leeuwen
6993e2398f
Broken conditional and lack of line spacing
7 years ago
Niels Abspoel
e5e9cd8fcf
Merge pull request #156 from qno/master
fixed insertion of multiple authorized keys via ssh_auth_pillar
7 years ago
Jerry van Leeuwen
4da9b00e75
Add 'template' support to 'user_files' ( #159 )
* Add support for 'template' in 'user_files'
* Fix-up wrong nesting level for template value
* Small quality improvement for push upstream.
* Consistency improvement for variable name
7 years ago
Niels Abspoel
e03458bb31
Merge pull request #143 from hatifnatt/dev
Add ability to specify mode for files and symlinks in user_files
7 years ago
Hatifnatt
335bc31095
'None' works in an unexpected way. Reverting back to 'False'.
This reverts commit 48416398e3
.
7 years ago
Hatifnatt
48416398e3
Change False to None in user_files to be closer to Salt default values.
7 years ago
Niels Abspoel
f823544388
Merge pull request #158 from garethhowell/master
Added Solaris
7 years ago
Niels Abspoel
bac9fdfaeb
Merge pull request #155 from ashokrajar/master
Fixing a bug introduced in my previous commit
7 years ago
Niels Abspoel
b3671fcdb3
Merge pull request #157 from saltstack-formulas/lookup-fix-3
(Re-)enable pillar users-formula:lookup
7 years ago
Alexander Weidinger
f005617cd1
fixed code block in README.rst
7 years ago
Alexander Weidinger
0b705e327e
fixed code block in README.rst
7 years ago
Alexander Weidinger
886f6afc18
fixed code block in README.rst
7 years ago
Alexander Weidinger
17cbdc44a6
Added users-formula to README.rst
7 years ago
Alexander Weidinger
3320299e70
(Re-)enable pillar users-formula:lookup
7 years ago
Silvio Kunaschk
23c5df2130
fixed insertion of multiple authorized keys via ssh_auth_pillar
7 years ago
Ashok Raja R
8f4bbf58f1
Fixing Conflicting ID
Fixing my previous change which errors in a particular scenario.
Error: Conflicting ID 'users_ssh_auth_source_username_0' when keys are added and removed simultaneously.
7 years ago
alxwr
cb1ed91151
Merge pull request #152 from ashokrajar/master
Replace periods in username with underscores
7 years ago
Ashok Raja
9c6e829e1e
Replace periods in username with underscores
Fixing the conflict and sending a new pull request
Fixes #118
Duplicate of #120
7 years ago
Niels Abspoel
00fc0c2d33
Merge pull request #131 from heap/templates
Add ability to use templated user files
7 years ago
Toby Brain
7c67d72ef0
Add ability to use templated user files
8 years ago
Niels Abspoel
c76173753c
Merge pull request #146 from M2Mobi/bashrc
Add support for jinja code in bashrc files.
7 years ago
Niels Abspoel
9f82ad4e02
Merge pull request #151 from ashokrajar/master
Add support for ssh_auth_sources.absent
7 years ago
Ashok Raja
29d7176040
Add support for ssh_auth_sources.absent
Fixes: 150
7 years ago
Gareth Howell
e9ef940967
Added Solaris
7 years ago
Javier Bértoli
27019e0f94
Merge pull request #145 from M2Mobi/git_insteadof_example
fix gitconfig url insteadOf example
7 years ago
Damien Tardy-Panis
4042641c09
Add support for jinja code in bashrc files.
8 years ago
Damien Tardy-Panis
3f2dc49ad8
fix gitconfig url insteadOf example
Previous example would result in quote escaping problem
8 years ago
Daniel Krämer
c98aa35392
provide pillar example
7 years ago
Hatifnatt
33287f650f
Add ability to specify mode for files and symlinks in user_files
7 years ago
Maximilian Zettler
8c6bbafd9b
add ability to configure prime_group without gid ( #141 )
* add ability to configure prime_group without gid
8 years ago
Forrest
b873db1aee
Merge pull request #137 from soniah/current
temp fix on git executable
8 years ago
Sonia Hamilton
e81f6e695c
temp fix on git executable
8 years ago
Forrest
bd4ffe5f5b
Merge pull request #136 from Takios/master
Add support for hash_password
8 years ago
Fabian Niepelt
153d07452c
Add support for hash_password
8 years ago
Matthias Nüßle
e014498dab
Merge pull request #135 from saltstack-formulas/fix_absent_users
fix wrong variable name in absent_users
8 years ago
Matthias Nüssle
0d7ca5728c
fix wrong variable name in absent_users
8 years ago
Forrest
2a8ef9f466
Merge pull request #108 from kossmac/master
set user and group of user dir in pillar
8 years ago
Karsten Kosmala
5985275022
Merge branch 'master' of https://github.com/saltstack-formulas/users-formula
8 years ago
Daniel Kraemer
34328aff1c
add support for multiple private and public keys
8 years ago
Forrest
0c364461c7
Merge pull request #129 from aboe76/master
fix warning on managed file state for /etc/sudoers.d/username
8 years ago
Niels Abspoel
15ce6493cc
fix warning on managed file state for /etc/sudoers.d/username
8 years ago