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
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