Commit Graph

509 Commits

Author SHA1 Message Date
Imran Iqbal
c12272eaae ci(kitchen): use saltimages Docker Hub where available [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/223
2020-06-15 17:03:16 +01:00
Imran Iqbal
5714b32d9b chore(gemfile.lock): update to latest gem versions [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/222
2020-06-15 15:13:54 +01:00
Imran Iqbal
06c6befe47 chore(gemfile.lock): update to latest gem versions [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/221
2020-06-05 22:22:50 +01:00
Imran Iqbal
0ec04e1236 chore(gemfile.lock): update to latest gem versions [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/202
2020-05-28 00:23:18 +01:00
Imran Iqbal
628a430681 ci(travis): add notifications => zulip [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/191
2020-05-21 20:11:58 +01:00
Imran Iqbal
5c0e083288 chore(codeowners): update semantic-release related files [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/174
2020-05-04 23:19:22 +01:00
Imran Iqbal
8e81785cf9 chore(codeowners): add to repo [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/173
2020-05-04 22:47:53 +01:00
Imran Iqbal
7419dda3a4 ci(workflows/commitlint): add to repo [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/172
2020-05-04 09:33:39 +01:00
Imran Iqbal
892868f3b5 ci(kitchen+travis): remove master-py2-arch-base-latest [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/167
2020-05-02 04:32:01 +01:00
Imran Iqbal
ad7e8f7cab ci(gemfile.lock): add to repo with updated Gemfile [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/163
2020-04-21 22:11:59 +01:00
Imran Iqbal
f0021e9067 chore(rubocop): use org-wide standard settings for Metrics/BlockLength [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/158
2020-04-18 13:47:55 +01:00
Imran Iqbal
2a55621b06 chore(gitignore): update from the template-formula [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/132
2020-02-14 22:33:04 +00:00
Imran Iqbal
1bc099ffff chore(rubocop): move LineLength cop from Metrics to Layout [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/129
2020-02-14 12:54:18 +00:00
Imran Iqbal
4441c597bd ci(kitchen): avoid using bootstrap for master instances [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/124
2020-02-05 14:09:53 +00:00
Imran Iqbal
0afebc6fc3 ci(travis): use major.minor for semantic-release version [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/112
2019-12-22 01:04:33 +00:00
Imran Iqbal
40f8e2d181 ci(gemfile): restrict train gem version until upstream fix [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/110
2019-12-16 13:47:39 +00:00
Imran Iqbal
f9f8f13693 ci(travis): quote pathspecs used with git ls-files [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/107
2019-11-27 21:58:14 +00:00
Imran Iqbal
e09c822165 ci(travis): run shellcheck during lint job [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/106
2019-11-27 20:58:37 +00:00
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
2019-11-20 16:32:40 +00:00
Imran Iqbal
9f766728d4 ci(travis): apply changes from build config validation [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/98
2019-11-16 20:05:26 +00:00
Imran Iqbal
0ddb90e6b5 ci(travis): use build config validation (beta) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/97
2019-11-13 16:47:37 +00:00
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))
2019-11-08 19:08:29 +00:00
Niels Abspoel
1a96921e89
Merge pull request #216 from myii/add-test-vimrc-generation
fix(vimrc): ensure `vimrc` state runs
2019-11-08 19:53:26 +01:00
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
2019-11-03 11:36:08 +00:00
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))
2019-11-02 09:48:30 +00:00
Niels Abspoel
48ab7270f7
Merge pull request #215 from myii/fix/ensure-addusers-and-delusers-are-lists
fix(pillars): ensure `addusers` & `delusers` are lists
2019-11-02 10:35:41 +01:00
Imran Iqbal
b31c592147
fix(pillars): ensure addusers & delusers are lists 2019-11-02 09:14:51 +00:00
Felipe Zipitria
86144befb9
test(pillar): add test pillar to generate .vimrc file 2019-11-02 08:52:09 +00:00
Felipe Zipitria
569e9276db
test(inspec): add test to check .vimrc file is generated properly 2019-11-02 08:52:09 +00:00
Imran Iqbal
a263a62e75
ci(kitchen+travis+inspec): add vimrc suite
* Automated using https://github.com/myii/ssf-formula/pull/91
2019-11-02 08:52:09 +00:00
Imran Iqbal
a1ef7e57d9
fix(vimrc): ensure vimrc state runs 2019-11-02 08:52:09 +00:00
Imran Iqbal
b45914e063 perf(travis): improve salt-lint invocation [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/90
2019-11-02 08:38:02 +00:00
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
2019-10-31 10:30:27 +00:00
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
2019-10-30 04:48:35 +00:00
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
2019-10-24 18:10:50 +01:00
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
2019-10-23 17:34:28 +01:00
Imran Iqbal
7c55ef0c0d docs(contributing): remove to use org-level file instead [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/70
2019-10-14 12:29:41 +01:00
Imran Iqbal
2a887654fc
docs(readme): update link to CONTRIBUTING [skip ci] 2019-10-14 11:39:42 +01:00
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))
2019-10-11 20:26:19 +00:00
Imran Iqbal
96999c2d63 ci(travis): merge rubocop linter into main lint job
* Semi-automated using https://github.com/myii/ssf-formula/pull/65
2019-10-11 21:07:17 +01:00
Imran Iqbal
13dd7f9517
fix(rubocop): add fixes using rubocop --safe-auto-correct 2019-10-11 21:02:46 +01:00
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
2019-10-10 15:26:50 +01:00
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))
2019-10-10 05:01:47 +00:00
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
2019-10-09 23:53:21 +01:00
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
2019-10-09 22:27:59 +01:00
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 }}
```
2019-10-09 22:27:59 +01:00
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}}
```
2019-10-09 22:27:59 +01:00
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"
```
2019-10-09 22:27:59 +01:00
Imran Iqbal
99136b57f6 ci: merge travis matrix, add salt-lint & rubocop to lint job
* Automated using https://github.com/myii/ssf-formula/pull/60
2019-10-08 16:37:31 +01:00
Imran Iqbal
23b6725e4f chore(yamllint): update ignored paths and add octal-values [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/59
2019-10-07 19:32:25 +01:00