Niels Abspoel
e05d551ac6
Merge pull request #169 from rhertzog/gitconfig
Do not try to run git config when git is not available
6 years ago
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
Konstantin Nikolaev
1c8e6c7c30
Fix docs
6 years ago
Konstantin Nikolaev
1dfef11303
Support "salt://path_to_keyname" ssh_key definition in users."user name".ssh_keys."privkey|pubkey" pillar data
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
Jerzy Drozdz
72ef35fdfa
Added sudoonly switch. Usage implies setting sudouser to True
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
Maximilian Zettler
caf1acc5ae
Merge branch 'policykit-settings' into 'master'
make AdminIdentity configureable per user
See merge request !1
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
Arthur
e486032283
not more need for homedir, if not needed
7 years ago
Arthur
694fd0de6d
added feature to create groups and set their gid
7 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
e1d0de230d
make AdminIdentity configureable per user
8 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