0
0
mirror of https://github.com/saltstack-formulas/users-formula.git synced 2024-12-18 10:32:55 +01:00
Commit Graph

71 Commits

Author SHA1 Message Date
Imran Iqbal
b31c592147
fix(pillars): ensure addusers & delusers are lists 2019-11-02 09:14:51 +00:00
Imran Iqbal
fa6210dc5b
feat(yamllint): include for this repo and apply rules throughout
* Semi-automated using `ssf-formula` (v0.5.0)
* Fix errors shown below:

```bash
users-formula$ $(grep "\- yamllint" .travis.yml | sed -e "s:^\s\+-\s\(.*\):\1:")
./users/defaults.yaml
  4:1       warning  missing document start "---"  (document-start)
  5:20      warning  truthy value should be one of [false, true]  (truthy)
  8:21      warning  truthy value should be one of [false, true]  (truthy)
  9:15      warning  truthy value should be one of [false, true]  (truthy)
  10:1      error    too many blank lines (1 > 0)  (empty-lines)

pillar.example
  5:20      warning  truthy value should be one of [false, true]  (truthy)
  14:13     warning  truthy value should be one of [false, true]  (truthy)
  16:13     warning  truthy value should be one of [false, true]  (truthy)
  19:13     warning  truthy value should be one of [false, true]  (truthy)
  23:13     warning  truthy value should be one of [false, true]  (truthy)
  25:5      error    wrong indentation: expected 6 but found 4  (indentation)
  37:23     warning  truthy value should be one of [false, true]  (truthy)
  40:21     warning  truthy value should be one of [false, true]  (truthy)
  41:20     warning  truthy value should be one of [false, true]  (truthy)
  42:13     warning  truthy value should be one of [false, true]  (truthy)
  47:17     warning  truthy value should be one of [false, true]  (truthy)
  51:19     warning  truthy value should be one of [false, true]  (truthy)
  52:23     warning  truthy value should be one of [false, true]  (truthy)
  53:20     warning  truthy value should be one of [false, true]  (truthy)
  54:21     warning  truthy value should be one of [false, true]  (truthy)
  58:15     warning  truthy value should be one of [false, true]  (truthy)
  59:15     warning  truthy value should be one of [false, true]  (truthy)
  73:18     warning  truthy value should be one of [false, true]  (truthy)
  75:20     warning  truthy value should be one of [false, true]  (truthy)
  90:7      error    duplication of key "privkey" in mapping  (key-duplicates)
  91:7      error    duplication of key "pubkey" in mapping  (key-duplicates)
  117:44    warning  too few spaces before comment  (comments)
  125:27    warning  truthy value should be one of [false, true]  (truthy)
  153:17    warning  truthy value should be one of [false, true]  (truthy)
  167:13    warning  truthy value should be one of [false, true]  (truthy)
  171:16    warning  truthy value should be one of [false, true]  (truthy)
  172:89    error    line too long (102 > 88 characters)  (line-length)
  177:89    error    line too long (102 > 88 characters)  (line-length)
  178:89    error    line too long (100 > 88 characters)  (line-length)
  181:89    error    line too long (94 > 88 characters)  (line-length)
  188:13    warning  truthy value should be one of [false, true]  (truthy)
  189:12    warning  truthy value should be one of [false, true]  (truthy)
  190:12    warning  truthy value should be one of [false, true]  (truthy)

test/salt/pillar/default.sls
  25:89     error    line too long (91 > 88 characters)  (line-length)
  175:89    error    line too long (102 > 88 characters)  (line-length)
  180:89    error    line too long (102 > 88 characters)  (line-length)
  181:89    error    line too long (100 > 88 characters)  (line-length)
  184:89    error    line too long (94 > 88 characters)  (line-length)
```
2019-08-16 20:12:03 +01:00
Imran Iqbal
3bcdc902dc
feat(semantic-release): implement for this formula
* Based on `ssf-formula` (v0.3.0)
  - https://github.com/myii/ssf-formula/pull/5
* Unable to use `pillar.example` directly for testing
  - Used it as a basis for `test/salt/pillar/default.sls`
  - Brought useful changes back to `pillar.example`
* Fix: avoid `users/googleauth.sls` for `RedHat` & `Suse`
* Close #203
2019-08-07 15:20:26 +01:00
Sevrin Robstad
18c0447754 added comment about dir_sync not working on windows 2019-07-31 12:26:29 +02:00
Sevrin Robstad
7cf7769a2d adde dir_mode logic for users.files 2019-07-30 12:39:48 +02:00
N
18c5d9e205
Merge branch 'master' into policykit-settings 2019-06-18 15:53:07 +01:00
Niels Abspoel
d4f8cf955d
Merge pull request #194 from ze42/groups_members
Groups members
2019-05-03 23:23:07 +02:00
Meng Chen
ba61e9b7f1 add example of groups init 2019-04-29 14:39:19 +08:00
Adrien "ze" Urban
def8f53932 group: add support for members
members, addusers, delusers, and in pillar examples
2019-03-07 12:03:30 +01:00
Adrien "ze" Urban
b69bef3cd1 group: add pillar example 2019-03-07 11:55:56 +01:00
N
b89b62d35c
Allow state to update the gid 2018-10-03 16:54:09 +01:00
Niels Abspoel
537d8dd054
Merge pull request #187 from M2Mobi/ssh_known_hosts
Improvements for ssh known hosts handling
2018-09-06 19:51:21 +02:00
Heinz Wiesinger
49a337184d Add pillar examples for ssh_known_hosts config. 2018-09-06 11:31:34 +02:00
Damien Tardy-Panis
8e33bb8aa9 Add possibility to remove user's git config keys 2018-09-05 17:21:37 +02:00
N
7ab8f2ed06
Merge pull request #177 from noelmcloughlin/vimrc
Dont require vim-formula by default
2018-07-22 15:28:27 +01:00
N
5b67c5513a
Merge pull request #165 from jdsieci/unique_switch
Unique switch
2018-06-28 10:53:48 +01:00
Niels Abspoel
e33c76edb6
Merge pull request #179 from arthurlogilab/178-exclude-pat
[users/users_files] add exclude_pat to user files (closes #178)
2018-06-22 10:39:34 +02:00
Arthur Lutz
c062a34603 [users/users_files] add exclude_pat to user files (closes #178) 2018-06-21 17:01:01 +02:00
N
f7dfd1f47b Dont force vim-formula on users 2018-06-15 14:27:14 +01:00
Jerzy Drozdz
ad2ddd0265 Added short docs for options 2018-06-14 20:12:13 +02:00
Konstantin Nikolaev
1c8e6c7c30 Fix docs 2018-02-14 13:12:58 +07:00
Niels Abspoel
a4c1e98a55 Merge pull request #133 from luitzifa/multiple-key-support
add support for multiple private and public keys
2017-09-28 12:50:56 +02:00
Daniel Kraemer
d8d2017629 adjust file permissions of public ssh-keys 2017-09-28 08:22:25 +02:00
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
2017-09-22 13:30:29 +10:00
Niels Abspoel
e03458bb31 Merge pull request #143 from hatifnatt/dev
Add ability to specify mode for files and symlinks in user_files
2017-07-27 20:01:16 +02:00
Alexander Weidinger
3320299e70 (Re-)enable pillar users-formula:lookup 2017-07-12 11:47:06 +02:00
Ashok Raja
29d7176040 Add support for ssh_auth_sources.absent
Fixes: 150
2017-06-12 16:50:12 +05:30
Damien Tardy-Panis
3f2dc49ad8 fix gitconfig url insteadOf example
Previous example would result in quote escaping problem
2017-05-09 09:45:32 +02:00
Daniel Krämer
c98aa35392 provide pillar example 2017-04-08 16:45:17 +02:00
Hatifnatt
33287f650f Add ability to specify mode for files and symlinks in user_files 2017-03-23 12:27:32 +03:00
Maximilian Zettler
e1d0de230d make AdminIdentity configureable per user 2017-02-02 23:12:15 +01:00
Fabian Niepelt
153d07452c Add support for hash_password 2016-12-01 16:59:51 +01:00
Karsten Kosmala
5985275022 Merge branch 'master' of https://github.com/saltstack-formulas/users-formula 2016-11-29 16:15:16 +01:00
jraby
8aa174782a Add example pillar data for optional_groups 2016-08-05 15:04:53 -04:00
Imran Iqbal
4b840e646c Add missing keys in pillar.example (found in init.sls) 2016-07-03 16:37:57 +01:00
Karsten Kosmala
c735c6e915 add pillar data 2016-06-13 17:24:43 +02:00
Imran Iqbal
846634bfd7 Resolve git.config error where minion does not have Git installed #115 2016-06-09 09:13:32 +01:00
ketzacoatl
27075b073d update pillar.example to include uid
in an attempt to save others from digging into the source (to confirm this detail)
2015-11-11 05:02:07 -05:00
outime
851a59e952 Adds 'empty_password' statement for states.user.present 2015-09-27 16:20:45 +02:00
maschinetheist
f087f165f3 Added ability to specify room number, home phone, and work phone as per https://docs.saltstack.com/en/develop/ref/states/all/salt.states.user.html 2015-09-12 16:22:42 -05:00
Heinz Wiesinger
452b8ee8cf Add possibility to manage the user's global git configuration. 2015-09-11 13:25:19 +02:00
Heinz Wiesinger
74d5f6cc3c Add possibility to manage ssh's known_hosts file. 2015-08-28 11:49:38 +02:00
Shane Poage
cdb862e968 Added feature to allow syncing arbitrary sets of files per user. 2015-08-21 15:42:25 -05:00
Shane Poage
ff189c1613 Added ability to provide pillar path for ssh_auth. 2015-08-21 05:17:49 -05:00
Andres Montalban
750f2e6345 Add support for .profile file 2015-08-09 13:59:51 -03:00
Seth Miller
7dca1ebfd2 Adding support for the enforce_password option.
This will allow users change their passwords after the initial setting in Salt.
2015-07-17 10:18:38 -05:00
Andres Montalban
e0acdc9b30 Add sudo_rules syntax examples for rules with colons 2015-07-04 09:30:50 -03:00
Bohdan Kmit
d0bbbda8aa readd 2fa pam enforcement 2015-07-01 19:15:31 +03:00
Niels Abspoel
622b846d7f Enable/disable bashrc/vimrc per user
Made both states configurable per user in pillar data
Had to drop extend, for this otherwise the extend would be empty if manage is
False
2015-06-11 23:34:16 +02:00
Sander Klein
57c82f3324 Add ~/.ssh/config management
This adds the ability to manage the ~/.ssh/config file for users.
2015-05-15 21:47:40 +02:00