Imran Iqbal
e09c822165
ci(travis): run `shellcheck` during lint job [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/106
5 лет назад
Imran Iqbal
9a983a4c2a
ci(travis): opt-in to `dpl v2` to complete build config validation [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/100
5 лет назад
Imran Iqbal
9f766728d4
ci(travis): apply changes from build config validation [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/98
5 лет назад
Imran Iqbal
0ddb90e6b5
ci(travis): use build config validation (beta) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/97
5 лет назад
semantic-release-bot
3d58323118
chore(release): 0.48.4 [skip ci]
## [0.48.4](https://github.com/saltstack-formulas/users-formula/compare/v0.48.3...v0.48.4 ) (2019-11-08)
### Bug Fixes
* **vimrc:** ensure `vimrc` state runs ([a1ef7e5
](a1ef7e57d9
))
### Continuous Integration
* **kitchen:** use `develop` image until `master` is ready (`amazonlinux`) [skip ci] ([852dff2
](852dff2aac
))
* **kitchen+travis+inspec:** add `vimrc` suite ([a263a62
](a263a62e75
))
### Tests
* **inspec:** add test to check `.vimrc` file is generated properly ([569e927
](569e9276db
))
* **pillar:** add test pillar to generate `.vimrc` file ([86144be
](86144befb9
))
5 лет назад
Niels Abspoel
1a96921e89
Merge pull request #216 from myii/add-test-vimrc-generation
fix(vimrc): ensure `vimrc` state runs
5 лет назад
Imran Iqbal
852dff2aac
ci(kitchen): use `develop` image until `master` is ready (`amazonlinux`) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/93
5 лет назад
semantic-release-bot
0e5829bc10
chore(release): 0.48.3 [skip ci]
## [0.48.3](https://github.com/saltstack-formulas/users-formula/compare/v0.48.2...v0.48.3 ) (2019-11-02)
### Bug Fixes
* **pillars:** ensure `addusers` & `delusers` are lists ([b31c592
](b31c592147
))
* **release.config.js:** use full commit hash in commit link [skip ci] ([8df4d39
](8df4d39060
))
### Continuous Integration
* **kitchen:** use `debian-10-master-py3` instead of `develop` [skip ci] ([9ee7636
](9ee7636477
))
* **kitchen+travis:** upgrade matrix after `2019.2.2` release [skip ci] ([1d9a5ef
](1d9a5ef5be
))
* **travis:** update `salt-lint` config for `v0.0.10` [skip ci] ([60ee61d
](60ee61dd66
))
### Documentation
* **contributing:** remove to use org-level file instead [skip ci] ([7c55ef0
](7c55ef0c0d
))
* **readme:** update link to `CONTRIBUTING` [skip ci] ([2a88765
](2a887654fc
))
### Performance Improvements
* **travis:** improve `salt-lint` invocation [skip ci] ([b45914e
](b45914e063
))
5 лет назад
Niels Abspoel
48ab7270f7
Merge pull request #215 from myii/fix/ensure-addusers-and-delusers-are-lists
fix(pillars): ensure `addusers` & `delusers` are lists
5 лет назад
Imran Iqbal
b31c592147
fix(pillars): ensure `addusers` & `delusers` are lists
5 лет назад
Felipe Zipitria
86144befb9
test(pillar): add test pillar to generate `.vimrc` file
5 лет назад
Felipe Zipitria
569e9276db
test(inspec): add test to check `.vimrc` file is generated properly
5 лет назад
Imran Iqbal
a263a62e75
ci(kitchen+travis+inspec): add `vimrc` suite
* Automated using https://github.com/myii/ssf-formula/pull/91
5 лет назад
Imran Iqbal
a1ef7e57d9
fix(vimrc): ensure `vimrc` state runs
5 лет назад
Imran Iqbal
b45914e063
perf(travis): improve `salt-lint` invocation [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/90
5 лет назад
Imran Iqbal
8df4d39060
fix(release.config.js): use full commit hash in commit link [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/89
5 лет назад
Imran Iqbal
1d9a5ef5be
ci(kitchen+travis): upgrade matrix after `2019.2.2` release [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/86
5 лет назад
Imran Iqbal
9ee7636477
ci(kitchen): use `debian-10-master-py3` instead of `develop` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/84
5 лет назад
Imran Iqbal
60ee61dd66
ci(travis): update `salt-lint` config for `v0.0.10` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/82
5 лет назад
Imran Iqbal
7c55ef0c0d
docs(contributing): remove to use org-level file instead [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/70
5 лет назад
Imran Iqbal
2a887654fc
docs(readme): update link to `CONTRIBUTING` [skip ci]
5 лет назад
semantic-release-bot
fc6cb567a9
chore(release): 0.48.2 [skip ci]
## [0.48.2](https://github.com/saltstack-formulas/users-formula/compare/v0.48.1...v0.48.2 ) (2019-10-11)
### Bug Fixes
* **rubocop:** add fixes using `rubocop --safe-auto-correct` ([](https://github.com/saltstack-formulas/users-formula/commit/13dd7f9 ))
### Continuous Integration
* merge travis matrix, add `salt-lint` & `rubocop` to `lint` job ([](https://github.com/saltstack-formulas/users-formula/commit/99136b5 ))
* **travis:** merge `rubocop` linter into main `lint` job ([](https://github.com/saltstack-formulas/users-formula/commit/96999c2 ))
5 лет назад
Imran Iqbal
96999c2d63
ci(travis): merge `rubocop` linter into main `lint` job
* Semi-automated using https://github.com/myii/ssf-formula/pull/65
5 лет назад
Imran Iqbal
13dd7f9517
fix(rubocop): add fixes using `rubocop --safe-auto-correct`
5 лет назад
Imran Iqbal
cc30c7b3fe
chore(issues): remove issues templates to use org-level templates [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/61
5 лет назад
semantic-release-bot
1bc2ea9045
chore(release): 0.48.1 [skip ci]
## [0.48.1](https://github.com/saltstack-formulas/users-formula/compare/v0.48.0...v0.48.1 ) (2019-10-10)
### Bug Fixes
* **googleauth.sls:** fix `salt-lint` errors ([](https://github.com/saltstack-formulas/users-formula/commit/bb27b94 ))
* **init.sls:** fix `salt-lint` errors ([](https://github.com/saltstack-formulas/users-formula/commit/4cec0ef ))
* **sudo.sls:** fix `salt-lint` errors ([](https://github.com/saltstack-formulas/users-formula/commit/560f5e1 ))
### Continuous Integration
* **kitchen:** change `log_level` to `debug` instead of `info` ([](https://github.com/saltstack-formulas/users-formula/commit/1726e0f ))
* **kitchen:** install required packages to bootstrapped `opensuse` [skip ci] ([](https://github.com/saltstack-formulas/users-formula/commit/0ed662d ))
* **kitchen:** use bootstrapped `opensuse` images until `2019.2.2` [skip ci] ([](https://github.com/saltstack-formulas/users-formula/commit/f2e1b66 ))
* **platform:** add `arch-base-latest` (commented out for now) [skip ci] ([](https://github.com/saltstack-formulas/users-formula/commit/1790bae ))
* **yamllint:** add rule `empty-values` & use new `yaml-files` setting ([](https://github.com/saltstack-formulas/users-formula/commit/af2d2c0 ))
* merge travis matrix, add `salt-lint` & `rubocop` to `lint` job ([](https://github.com/saltstack-formulas/users-formula/commit/f17d156 ))
* use `dist: bionic` & apply `opensuse-leap-15` SCP error workaround ([](https://github.com/saltstack-formulas/users-formula/commit/4d3228b ))
5 лет назад
Imran Iqbal
5e6846b173
Merge pull request #212 from myii/ci/merge-matrix-and-add-salt-lint-and-rubocop
ci: merge travis matrix, add `salt-lint` & `rubocop` to `lint` job
5 лет назад
Imran Iqbal
f17d156e6e
ci: merge travis matrix, add `salt-lint` & `rubocop` to `lint` job
* Semi-automated using https://github.com/myii/ssf-formula/pull/60
5 лет назад
Imran Iqbal
560f5e10d9
fix(sudo.sls): fix `salt-lint` errors
```bash
Examining users/sudo.sls of type state
[201] Trailing whitespace
users/sudo.sls:13
- file: {{ users.sudoers_dir }}
[201] Trailing whitespace
users/sudo.sls:22
- name: {{ users.sudoers_file }}
```
5 лет назад
Imran Iqbal
4cec0ef4cc
fix(init.sls): fix `salt-lint` errors
```bash
Examining users/init.sls of type state
[206] Jinja variables should have spaces before and after: {{ var_name }}
users/init.sls:176
- expire: {{ (user['expire'] / 86400) | int}}
[206] Jinja variables should have spaces before and after: {{ var_name }}
users/init.sls:202
- {{optional_group}}
```
5 лет назад
Imran Iqbal
bb27b940ea
fix(googleauth.sls): fix `salt-lint` errors
```bash
Examining users/googleauth.sls of type state
[201] Trailing whitespace
users/googleauth.sls:9
- file: {{ users.googleauth_dir }}
[204] Lines should be no longer that 160 chars
users/googleauth.sls:26
- repl: "auth [success=done new_authtok_reqd=done default=die] pam_google_authenticator.so user=root secret={{ users.googleauth_dir }}/${USER}_{{ svc }} echo_verification_code\n@include common-auth"
```
5 лет назад
Imran Iqbal
99136b57f6
ci: merge travis matrix, add `salt-lint` & `rubocop` to `lint` job
* Automated using https://github.com/myii/ssf-formula/pull/60
5 лет назад
Imran Iqbal
23b6725e4f
chore(yamllint): update ignored paths and add `octal-values` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/59
5 лет назад
Imran Iqbal
431b02030a
chore(issues): update `Bug report` & `Feature request` templates [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/58
5 лет назад
Imran Iqbal
0ed662d16b
ci(kitchen): install required packages to bootstrapped `opensuse` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/53
5 лет назад
Imran Iqbal
f2e1b66be7
ci(kitchen): use bootstrapped `opensuse` images until `2019.2.2` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/52
5 лет назад
Imran Iqbal
1790bae6f1
ci(platform): add `arch-base-latest` (commented out for now) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/50
5 лет назад
Imran Iqbal
8d950a3c38
chore(issues): provide `Bug report` & `Feature request` templates [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/48
5 лет назад
Imran Iqbal
1726e0f0f1
ci(kitchen): change `log_level` to `debug` instead of `info`
* Automated using https://github.com/myii/ssf-formula/pull/41
5 лет назад
Niels Abspoel
ce8e2a0f92
Merge pull request #211 from myii/chore/standardise-structure
ci(yamllint): add rule `empty-values` & use new `yaml-files` setting
5 лет назад
Imran Iqbal
af2d2c0453
ci(yamllint): add rule `empty-values` & use new `yaml-files` setting
* Automated using https://github.com/myii/ssf-formula/pull/27
5 лет назад
Niels Abspoel
531a684e5c
Merge pull request #210 from myii/chore/standardise-structure
ci: use `dist: bionic` & apply `opensuse-leap-15` SCP error workaround
5 лет назад
Imran Iqbal
4d3228b24a
ci: use `dist: bionic` & apply `opensuse-leap-15` SCP error workaround
* Automated using https://github.com/myii/ssf-formula/pull/22
5 лет назад
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 ))
5 лет назад
Niels Abspoel
1b354fa788
Merge pull request #208 from myii/chore/standardise-structure
feat(yamllint): include for this repo and apply rules throughout
5 лет назад
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)
```
5 лет назад
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 )
5 лет назад
N
abe4510f9f
Merge pull request #207 from myii/feat/semantic-release
feat(semantic-release): implement for this formula
5 лет назад
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
5 лет назад
Niels Abspoel
5517d954e8
Merge pull request #204 from myii/fix/replace-gid_from_name
fix(init): replace `gid_from_name` (deprecated in `develop`)
5 лет назад