Javier Bértoli
8f5e116d94
Merge pull request #189 from arthurlogilab/patch-1
[users/init] use dir_mode in addition to mode
6 vuotta sitten
Arthur Lutz
ae2a63e899
[users/init] use dir_mode in addition to mode
To get it to work with RHEL7 with salt 2018.x
6 vuotta sitten
Niels Abspoel
adf2f81a4a
Merge pull request #188 from noelmcloughlin/allow_gid_change
Allow state to update the gid
6 vuotta sitten
N
b89b62d35c
Allow state to update the gid
6 vuotta sitten
Niels Abspoel
537d8dd054
Merge pull request #187 from M2Mobi/ssh_known_hosts
Improvements for ssh known hosts handling
6 vuotta sitten
Heinz Wiesinger
49a337184d
Add pillar examples for ssh_known_hosts config.
6 vuotta sitten
Niels Abspoel
d3635f2ccb
Merge pull request #186 from M2Mobi/gitconfig_absent
Add possibility to remove user's git config keys
6 vuotta sitten
Sean Molenaar
3b911cc9cb
Add default setting for ssh known hosts fingerprint hash type
7 vuotta sitten
Heinz Wiesinger
4bc00d4d62
Replace "hash_hostname" with "hash_known_hosts".
The former is deprecated since Carbon.
8 vuotta sitten
Damien Tardy-Panis
8e33bb8aa9
Add possibility to remove user's git config keys
8 vuotta sitten
Niels Abspoel
28de757e9c
Merge pull request #185 from aboe76/fix_groups_iteritems
fix iteritems
6 vuotta sitten
Niels Abspoel
ed02fbc678
fix iteritems
6 vuotta sitten
Niels Abspoel
7f9f3df6c7
Merge pull request #144 from sacr0/master
added feature to create groups and set their gid
6 vuotta sitten
Niels Abspoel
2e4038bd5e
Merge pull request #184 from aboe76/fix_defaults
add import defaults.yaml
6 vuotta sitten
Niels Abspoel
197d6ee561
add import defaults.yaml
6 vuotta sitten
N
7ab8f2ed06
Merge pull request #177 from noelmcloughlin/vimrc
Dont require vim-formula by default
6 vuotta sitten
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 vuotta sitten
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 vuotta sitten
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 vuotta sitten
Arthur Lutz
52ba531d63
[users] add a prereq for createhome to handle the case of an absent subfolder
Fixes #181
6 vuotta sitten
N
5b67c5513a
Merge pull request #165 from jdsieci/unique_switch
Unique switch
6 vuotta sitten
Niels Abspoel
e33c76edb6
Merge pull request #179 from arthurlogilab/178-exclude-pat
[users/users_files] add exclude_pat to user files (closes #178 )
6 vuotta sitten
Arthur Lutz
d528e16c5c
[users/users_files] use quotes for exclude_pat
6 vuotta sitten
Arthur Lutz
c062a34603
[users/users_files] add exclude_pat to user files ( closes #178 )
6 vuotta sitten
N
f7dfd1f47b
Dont force vim-formula on users
6 vuotta sitten
Jerzy Drozdz
ad2ddd0265
Added short docs for options
6 vuotta sitten
Jerzy Drozdz
a32fb976ec
Added unique switch
7 vuotta sitten
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 vuotta sitten
N
877bdb0d80
Merge pull request #174 from arthurlogilab/173-makdirs
[init] add makedirs to home directory creation
6 vuotta sitten
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 vuotta sitten
Arthur Lutz
c8922bfdb5
[init] add makedirs to home directory creation
6 vuotta sitten
Niels Abspoel
78d85bca79
Merge pull request #171 from noelmcloughlin/darwin
sudo already installed on Darwin
6 vuotta sitten
noelmcloughlin
ad10ec4d94
corrected users handling on Darwin
6 vuotta sitten
Niels Abspoel
e05d551ac6
Merge pull request #169 from rhertzog/gitconfig
Do not try to run git config when git is not available
6 vuotta sitten
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 vuotta sitten
Konstantin Nikolaev
1c8e6c7c30
Fix docs
6 vuotta sitten
Konstantin Nikolaev
1dfef11303
Support "salt://path_to_keyname" ssh_key definition in users."user name".ssh_keys."privkey|pubkey" pillar data
6 vuotta sitten
Javier Bértoli
2844c9091e
Merge pull request #162 from kossmac/master
Use correct pillar to set users homephone
7 vuotta sitten
Karsten Kosmala
fdc5ceae2c
Use correct pillar to set users homephone
7 vuotta sitten
Niels Abspoel
a4c1e98a55
Merge pull request #133 from luitzifa/multiple-key-support
add support for multiple private and public keys
7 vuotta sitten
Daniel Kraemer
d8d2017629
adjust file permissions of public ssh-keys
7 vuotta sitten
Daniel Kraemer
c78516f8e0
i don't know what made me do this, maybe brainlag
7 vuotta sitten
Niels Abspoel
a133ef1c8b
Merge pull request #161 from qno/master
corrected saltversioninfo check expression
7 vuotta sitten
Silvio Kunaschk
ac1f334a43
corrected saltversioninfo check expression
7 vuotta sitten
Niels Abspoel
f985f2689d
Merge pull request #160 from jerryjvl/master
Broken conditional and lack of line spacing
7 vuotta sitten
Jerry van Leeuwen
6993e2398f
Broken conditional and lack of line spacing
7 vuotta sitten
Niels Abspoel
e5e9cd8fcf
Merge pull request #156 from qno/master
fixed insertion of multiple authorized keys via ssh_auth_pillar
7 vuotta sitten
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 vuotta sitten
Jerzy Drozdz
72ef35fdfa
Added sudoonly switch. Usage implies setting sudouser to True
7 vuotta sitten
Niels Abspoel
e03458bb31
Merge pull request #143 from hatifnatt/dev
Add ability to specify mode for files and symlinks in user_files
7 vuotta sitten