Commit Graph

404 Commits

Author SHA1 Message Date
Imran Iqbal
1726e0f0f1 ci(kitchen): change log_level to debug instead of info
* Automated using https://github.com/myii/ssf-formula/pull/41
2019-09-23 17:00:27 +01:00
Niels Abspoel
ce8e2a0f92
Merge pull request #211 from myii/chore/standardise-structure
ci(yamllint): add rule `empty-values` & use new `yaml-files` setting
2019-09-12 18:11:00 +02:00
Imran Iqbal
af2d2c0453 ci(yamllint): add rule empty-values & use new yaml-files setting
* Automated using https://github.com/myii/ssf-formula/pull/27
2019-09-10 05:54:25 +01:00
Niels Abspoel
531a684e5c
Merge pull request #210 from myii/chore/standardise-structure
ci: use `dist: bionic` & apply `opensuse-leap-15` SCP error workaround
2019-09-08 21:44:07 +02:00
Imran Iqbal
4d3228b24a ci: use dist: bionic & apply opensuse-leap-15 SCP error workaround
* Automated using https://github.com/myii/ssf-formula/pull/22
2019-09-07 03:37:22 +01:00
semantic-release-bot
f47dbf2c8d chore(release): 0.48.0 [skip ci]
# [0.48.0](https://github.com/saltstack-formulas/users-formula/compare/v0.47.0...v0.48.0) (2019-08-17)

### Features

* **yamllint:** include for this repo and apply rules throughout ([fa6210d](https://github.com/saltstack-formulas/users-formula/commit/fa6210d))
2019-08-17 07:56:47 +00:00
Niels Abspoel
1b354fa788
Merge pull request #208 from myii/chore/standardise-structure
feat(yamllint): include for this repo and apply rules throughout
2019-08-17 09:47:13 +02: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
semantic-release-bot
c5a5e3e484 chore(release): 0.47.0 [skip ci]
# [0.47.0](https://github.com/saltstack-formulas/users-formula/compare/v0.46.1...v0.47.0) (2019-08-07)

### Features

* **semantic-release:** implement for this formula ([3bcdc90](https://github.com/saltstack-formulas/users-formula/commit/3bcdc90)), closes [#203](https://github.com/saltstack-formulas/users-formula/issues/203)
2019-08-07 15:23:26 +00:00
N
abe4510f9f
Merge pull request #207 from myii/feat/semantic-release
feat(semantic-release): implement for this formula
2019-08-07 17:14:45 +02: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
Niels Abspoel
5517d954e8
Merge pull request #204 from myii/fix/replace-gid_from_name
fix(init): replace `gid_from_name` (deprecated in `develop`)
2019-08-01 20:38:15 +02:00
Imran Iqbal
83ffcb4bf7
Merge pull request #205 from sevrob/master
added dir_mode logic for users.user_files
2019-08-01 07:29:14 +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
Imran Iqbal
923b4600f1
fix(init): replace gid_from_name (deprecated in develop)
* Close #198
* All details in that issue
* Solution based upon:
  - https://github.com/saltstack-formulas/vault-formula/pull/35#issuecomment-509854411
2019-07-24 08:22:31 +01:00
Arthur Lutz
8d48adb3a2 [users/init] use createhome from defaults (#202)
This fixes a change introduced by 634deac where createhome was changed from True to False (by default).

This change honnor the default "global default" "users.createhome" from defaults.sls
2019-07-10 15:47:18 +02:00
N
7884fe6b29
Merge pull request #199 from noelmcloughlin/macos
fix(macos): ensure correct prime_group value
2019-06-23 17:04:17 +01:00
N
69c65174f1
Merge branch 'master' of https://github.com/saltstack-formulas/users-formula into macos 2019-06-19 08:23:30 +01:00
N
d80338d4a0
Merge pull request #142 from IMBArator/policykit-settings
make AdminIdentity configureable per user
2019-06-18 15:59:54 +01:00
N
18c5d9e205
Merge branch 'master' into policykit-settings 2019-06-18 15:53:07 +01:00
N
39b6d3c3c5
fix(macos): ensure correct group 2019-06-11 22:14:45 +01:00
Niels Abspoel
d4f8cf955d
Merge pull request #194 from ze42/groups_members
Groups members
2019-05-03 23:23:07 +02:00
Niels Abspoel
bdf05fc5f6
Merge pull request #197 from chenmen/pillar.example
add example of groups init into pillar.example
2019-05-03 23:22:15 +02:00
Meng Chen
ba61e9b7f1 add example of groups init 2019-04-29 14:39:19 +08:00
Adrien "ze" Urban
c128b1ea28 gid: default to "null"
using `|json` would let the state get an error if gid is a string, as it would
not be converted.

Using directly the `None` yaml value, and letting numbers as string be
converted by yaml parser.
2019-03-07 14:38:54 +01: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
Adrien "ze" Urban
7845013a39 groups: support absent like for users.
Also remove warning for passing unknown arguments on group.absent
2019-03-07 11:53:59 +01:00
Niels Abspoel
b8c6844e10
Merge pull request #193 from reschl/master
added OpenBSD data
2019-02-22 23:48:37 +01:00
Lukas Resch
d0e4615453 added OpenBSD data 2019-02-22 10:15:55 +01:00
Niels Abspoel
dce5da733a
Merge pull request #192 from jasonvoor/master
reworked "createhome" (variable, passwd entry & issue #164)
2019-01-18 19:42:03 +01:00
Jessy
6cd833fc86 Merge branch 'master' of https://github.com/jasonvoor/users-formula
wrong author on local
2019-01-17 13:36:46 +01:00
Jessy
634deacc73 incorporated change suggestions 2019-01-17 13:36:01 +01:00
root
fd25c3e4a4 incorporated change suggestions 2019-01-17 13:32:08 +01:00
Jessy
6ed440b66a reworked "createhome" (variable, passwd entry & issue #164) 2019-01-14 14:48:04 +01:00
Niels Abspoel
a2fe214817
Merge pull request #191 from mgzabriskie/master
support password expiration
2019-01-05 15:34:09 +01:00
Michael Zabriskie
0ad7d0764e support password expiration 2019-01-04 10:56:49 -07:00
Javier Bértoli
8f5e116d94
Merge pull request #189 from arthurlogilab/patch-1
[users/init] use dir_mode in addition to mode
2018-11-06 14:17:14 -03:00
Arthur Lutz
ae2a63e899
[users/init] use dir_mode in addition to mode
To get it to work with RHEL7 with salt 2018.x
2018-11-06 18:04:15 +01:00
Niels Abspoel
adf2f81a4a
Merge pull request #188 from noelmcloughlin/allow_gid_change
Allow state to update the gid
2018-10-18 23:25:06 +02:00
N
b89b62d35c
Allow state to update the gid 2018-10-03 16:54:09 +01:00
Maximilian Zettler
b84e79bd31 fix used_polkit 2018-09-29 13:15:56 +02: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
Niels Abspoel
d3635f2ccb
Merge pull request #186 from M2Mobi/gitconfig_absent
Add possibility to remove user's git config keys
2018-09-05 19:34:24 +02:00
Sean Molenaar
3b911cc9cb Add default setting for ssh known hosts fingerprint hash type 2018-09-05 17:42:26 +02:00
Heinz Wiesinger
4bc00d4d62 Replace "hash_hostname" with "hash_known_hosts".
The former is deprecated since Carbon.
2018-09-05 17:35:26 +02:00
Damien Tardy-Panis
8e33bb8aa9 Add possibility to remove user's git config keys 2018-09-05 17:21:37 +02:00
Niels Abspoel
28de757e9c
Merge pull request #185 from aboe76/fix_groups_iteritems
fix iteritems
2018-08-24 15:22:33 +02:00