Niels Abspoel
537d8dd054
Merge pull request #187 from M2Mobi/ssh_known_hosts
Improvements for ssh known hosts handling
6 years ago
Heinz Wiesinger
49a337184d
Add pillar examples for ssh_known_hosts config.
6 years ago
Niels Abspoel
d3635f2ccb
Merge pull request #186 from M2Mobi/gitconfig_absent
Add possibility to remove user's git config keys
6 years ago
Sean Molenaar
3b911cc9cb
Add default setting for ssh known hosts fingerprint hash type
7 years ago
Heinz Wiesinger
4bc00d4d62
Replace "hash_hostname" with "hash_known_hosts".
The former is deprecated since Carbon.
8 years ago
Damien Tardy-Panis
8e33bb8aa9
Add possibility to remove user's git config keys
8 years ago
Niels Abspoel
28de757e9c
Merge pull request #185 from aboe76/fix_groups_iteritems
fix iteritems
6 years ago
Niels Abspoel
ed02fbc678
fix iteritems
6 years ago
Niels Abspoel
7f9f3df6c7
Merge pull request #144 from sacr0/master
added feature to create groups and set their gid
6 years ago
Niels Abspoel
2e4038bd5e
Merge pull request #184 from aboe76/fix_defaults
add import defaults.yaml
6 years ago
Niels Abspoel
197d6ee561
add import defaults.yaml
6 years ago
N
7ab8f2ed06
Merge pull request #177 from noelmcloughlin/vimrc
Dont require vim-formula by default
6 years ago
Niels Abspoel
9f6fc4f4b9
Merge pull request #183 from philpep/fix-copying-etc-skel
Fix default behavior of copying /etc/skel when creating home directory
6 years ago
Philippe Pepiot
944e904419
Fix default behavior of copying /etc/skel when creating home directory
Since https://github.com/saltstack-formulas/users-formula/pull/182 the
home directory was created by salt which prevent "adduser" behavior to
copy /etc/skel in newly created directory.
Ensure the parent directory of the home dir is existing instead.
6 years ago
Niels Abspoel
6fc624db9e
Merge pull request #182 from arthurlogilab/createhome
[users] add a prereq for createhome to handle the case of an absent s…
6 years ago
Arthur Lutz
52ba531d63
[users] add a prereq for createhome to handle the case of an absent subfolder
Fixes #181
6 years ago
N
5b67c5513a
Merge pull request #165 from jdsieci/unique_switch
Unique switch
6 years ago
Niels Abspoel
e33c76edb6
Merge pull request #179 from arthurlogilab/178-exclude-pat
[users/users_files] add exclude_pat to user files (closes #178 )
6 years ago
Arthur Lutz
d528e16c5c
[users/users_files] use quotes for exclude_pat
6 years ago
Arthur Lutz
c062a34603
[users/users_files] add exclude_pat to user files ( closes #178 )
6 years ago
N
f7dfd1f47b
Dont force vim-formula on users
6 years ago
Jerzy Drozdz
ad2ddd0265
Added short docs for options
6 years ago
Jerzy Drozdz
a32fb976ec
Added unique switch
6 years ago
N
839058b851
Merge pull request #168 from konstest/master
Support "salt://path_to_keyname" ssh_key definition in users:"user name":ssh_keys:"privkey|pubkey" pillar data
6 years ago
N
877bdb0d80
Merge pull request #174 from arthurlogilab/173-makdirs
[init] add makedirs to home directory creation
6 years ago
Guillaume Lecoquierre
5cb4aa5dfa
Merge branch '173-makdirs' into 'master'
[init] add makedirs to home directory creation
See merge request saltstack/formulas/users-formula!1
6 years ago
Arthur Lutz
c8922bfdb5
[init] add makedirs to home directory creation
6 years ago
Niels Abspoel
78d85bca79
Merge pull request #171 from noelmcloughlin/darwin
sudo already installed on Darwin
6 years ago
noelmcloughlin
ad10ec4d94
corrected users handling on Darwin
6 years ago
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