2
0
Commit Graph

971 Commits

Author SHA1 Message Date
Imran Iqbal
f00c9a796a
fix(pkgrepo): fix settings for opensuse 2019-09-19 01:53:31 +01:00
semantic-release-bot
978e640cf3 chore(release): 0.59.0 [skip ci]
# [0.59.0](https://github.com/saltstack-formulas/salt-formula/compare/v0.58.4...v0.59.0) (2019-09-17)

### Features

* use `semantic-release` cross-formula standard structure ([ebfeba2](https://github.com/saltstack-formulas/salt-formula/commit/ebfeba2))
2019-09-17 06:57:11 +00:00
Imran Iqbal
fa2e8fa75d
Merge pull request #435 from myii/chore/standardise-structure
feat: use `semantic-release` cross-formula standard structure
2019-09-17 07:25:24 +01:00
Imran Iqbal
ebfeba2c4f
feat: use semantic-release cross-formula standard structure
* Semi-automated using https://github.com/myii/ssf-formula/pull/31
* Includes:
  - Update TOFS
  - Use `bin/kitchen`
  - Use `dist: bionic` in Travis
  - Add `yamllint` and apply rules
  - Use `pillars_from_files` throughout
  - Replace EOL images in Kitchen & Travis
  - Add `develop` images in Kitchen & Travis
* Fix (or ignore)  errors shown below:

```bash
salt-formula$ yamllint -s .
./pillar.example
  1:1       warning  missing document start "---"  (document-start)
  5:23      warning  truthy value should be one of [false, true]  (truthy)
  8:25      warning  truthy value should be one of [false, true]  (truthy)
  11:25     warning  truthy value should be one of [false, true]  (truthy)
  19:21     warning  truthy value should be one of [false, true]  (truthy)
  40:89     error    line too long (108 > 88 characters)  (line-length)
  41:89     error    line too long (112 > 88 characters)  (line-length)
  43:89     error    line too long (112 > 88 characters)  (line-length)
  45:89     error    line too long (110 > 88 characters)  (line-length)
  47:89     error    line too long (89 > 88 characters)  (line-length)
  74:27     warning  truthy value should be one of [false, true]  (truthy)
  82:9      error    wrong indentation: expected 10 but found 8  (indentation)
  101:14    warning  truthy value should be one of [false, true]  (truthy)
  102:20    warning  truthy value should be one of [false, true]  (truthy)
  103:89    error    line too long (119 > 88 characters)  (line-length)
  121:7     warning  comment not indented like content  (comments-indentation)
  122:24    error    syntax error: found character '%' that cannot start any token
  310:89    error    line too long (102 > 88 characters)  (line-length)
  330:89    error    line too long (113 > 88 characters)  (line-length)
  433:1     error    too many blank lines (1 > 0)  (empty-lines)

./salt/osmap.yaml
  4:2       error    syntax error: found character '%' that cannot start any token
  6:89      error    line too long (93 > 88 characters)  (line-length)
  22:89     error    line too long (137 > 88 characters)  (line-length)
  23:89     error    line too long (134 > 88 characters)  (line-length)
  33:89     error    line too long (149 > 88 characters)  (line-length)
  34:89     error    line too long (146 > 88 characters)  (line-length)

./salt/osfamilymap.yaml
  4:2       error    syntax error: found character '%' that cannot start any token
  6:89      error    line too long (94 > 88 characters)  (line-length)
  24:89     error    line too long (149 > 88 characters)  (line-length)
  25:89     error    line too long (146 > 88 characters)  (line-length)
  39:89     error    line too long (105 > 88 characters)  (line-length)
  40:89     error    line too long (127 > 88 characters)  (line-length)
  56:89     error    line too long (101 > 88 characters)  (line-length)

./salt/ospyvermap.yaml
  4:1       warning  missing document start "---"  (document-start)

./salt/defaults.yaml
  3:1       warning  missing document start "---"  (document-start)
  7:21      warning  truthy value should be one of [false, true]  (truthy)
  8:12      warning  truthy value should be one of [false, true]  (truthy)
  9:23      warning  truthy value should be one of [false, true]  (truthy)
  10:19     warning  truthy value should be one of [false, true]  (truthy)
  14:25     warning  truthy value should be one of [false, true]  (truthy)
  15:25     warning  truthy value should be one of [false, true]  (truthy)
  16:27     warning  truthy value should be one of [false, true]  (truthy)
  17:27     warning  truthy value should be one of [false, true]  (truthy)
  39:28     warning  truthy value should be one of [false, true]  (truthy)
  41:28     warning  truthy value should be one of [false, true]  (truthy)
  45:24     warning  truthy value should be one of [false, true]  (truthy)
  49:30     warning  truthy value should be one of [false, true]  (truthy)
  54:28     warning  truthy value should be one of [false, true]  (truthy)
  63:25     warning  truthy value should be one of [false, true]  (truthy)
  68:15     warning  truthy value should be one of [false, true]  (truthy)
```
2019-09-13 07:58:18 +01:00
semantic-release-bot
b59500cf5d chore(release): 0.58.4 [skip ci]
## [0.58.4](https://github.com/saltstack-formulas/salt-formula/compare/v0.58.3...v0.58.4) (2019-08-25)

### Bug Fixes

* **minion:** fix version compare in minion.sls ([49bf81b](https://github.com/saltstack-formulas/salt-formula/commit/49bf81b))
2019-08-25 23:15:37 +00:00
Imran Iqbal
23b2b7da64
Merge pull request #419 from sticky-note/fix/minion-version
fix(minion): Fix version compare in minion.sls
2019-08-25 23:38:19 +01:00
nb
49bf81bc6e fix(minion): fix version compare in minion.sls 2019-08-26 09:11:48 +11:00
Niels Abspoel
5778238244
Merge pull request #430 from saltstack-formulas/ryanwalder-patch-1
fix(minion): Add 'return' to reserved_keys in minion config
2019-08-17 11:12:13 +02:00
Ryan Walder
042e9baad3
Add 'return' to reserved_keys in minion config
This prevents the `return` key being duplicated in the minion config by L1205
2019-08-15 14:16:57 +01:00
semantic-release-bot
4faaf7529f chore(release): 0.58.3 [skip ci]
## [0.58.3](https://github.com/saltstack-formulas/salt-formula/compare/v0.58.2...v0.58.3) (2019-08-02)

### Code Refactoring

* **linux:** align to template-formula (plus fixes) ([71b4d8a](https://github.com/saltstack-formulas/salt-formula/commit/71b4d8a))
2019-08-02 12:31:32 +00:00
N
2230465c40
Merge pull request #424 from noelmcloughlin/pkgrepo1
refactor(linux): align to template-formula & fixes
2019-08-02 13:04:01 +01:00
semantic-release-bot
65a55e7982 chore(release): 0.58.2 [skip ci]
## [0.58.2](https://github.com/saltstack-formulas/salt-formula/compare/v0.58.1...v0.58.2) (2019-08-01)

### Bug Fixes

* **macos:** fix minion package handling for homebrew ([14276e2](https://github.com/saltstack-formulas/salt-formula/commit/14276e2))
* **minion:** fix jinja rendering error ([550f81b](https://github.com/saltstack-formulas/salt-formula/commit/550f81b))
* **os:** pass state on unsupported os ([4557976](https://github.com/saltstack-formulas/salt-formula/commit/4557976))
* **perms:** some os have custom user/root ([beb0e85](https://github.com/saltstack-formulas/salt-formula/commit/beb0e85))
2019-08-01 19:36:18 +00:00
Niels Abspoel
4cab1d6dd7
Merge pull request #427 from noelmcloughlin/version
fix(minion): fix jinja rendering error
2019-08-01 20:34:36 +02:00
Niels Abspoel
a399ab2ec6
Merge branch 'master' into version 2019-08-01 20:34:20 +02:00
Niels Abspoel
cb0219d0ce
Merge pull request #425 from noelmcloughlin/pkgrepo2
fix(os): pass pkgrepo state on unsupported os
2019-08-01 20:32:05 +02:00
Niels Abspoel
190998ded2
Merge pull request #426 from noelmcloughlin/macos
fix(macos): fix brew packaging handling
2019-08-01 20:31:39 +02:00
N
beb0e85b04
fix(perms): some os have custom user/root 2019-08-01 13:13:27 +01:00
semantic-release-bot
2fe8ada616 chore(release): 0.58.1 [skip ci]
## [0.58.1](https://github.com/saltstack-formulas/salt-formula/compare/v0.58.0...v0.58.1) (2019-08-01)

### Bug Fixes

* **travis:** disable two failing platforms until they can be fixed ([5fcadcd](https://github.com/saltstack-formulas/salt-formula/commit/5fcadcd))
2019-08-01 05:28:13 +00:00
Imran Iqbal
81aeaa82d0
Merge pull request #428 from saltstack-formulas/myii-patch-1
fix(travis): disable two failing platforms until they can be fixed
2019-08-01 06:02:47 +01:00
Imran Iqbal
5fcadcdc59
fix(travis): disable two failing platforms until they can be fixed
* Every PR is currently showing as failed and `commitlint` is never running
* Disable these two platforms in the meantime; still ten platforms being tested
* `opensuse-423` is EOL in any case
2019-08-01 06:01:13 +01:00
N
14276e2074
fix(macos): fix minion package handling for homebrew 2019-08-01 01:31:02 +01:00
N
550f81b631
fix(minion): fix jinja rendering error 2019-08-01 00:49:53 +01:00
N
455797675c
fix(os): pass state on unsupported os 2019-07-30 00:12:59 +01:00
N
71b4d8abb8
refactor(linux): align to template-formula (plus fixes) 2019-07-29 23:52:13 +01:00
semantic-release-bot
6a312544dd chore(release): 0.58.0 [skip ci]
# [0.58.0](https://github.com/saltstack-formulas/salt-formula/compare/v0.57.1...v0.58.0) (2019-06-13)

### Features

* **`tofs`:** allow TOFS for master configuration ([1b202af](https://github.com/saltstack-formulas/salt-formula/commit/1b202af))
* **`tofs`:** allow TOFS for minion configuration ([fbe814a](https://github.com/saltstack-formulas/salt-formula/commit/fbe814a))
2019-06-13 09:08:27 +00:00
Denys Havrysh
05b71abff7
Merge pull request #398 from myii/PR_master-f_defaults
feat(`tofs`): allow TOFS for master+minion configuration
2019-06-13 11:40:04 +03:00
Imran Iqbal
fbe814ace8
feat(tofs): allow TOFS for minion configuration 2019-06-07 03:58:24 +01:00
Imran Iqbal
1b202afb29
feat(tofs): allow TOFS for master configuration 2019-06-07 03:58:24 +01:00
Imran Iqbal
61a93d8c1e
chore(tofs): prepare library and pillar.example 2019-06-07 03:58:06 +01:00
semantic-release-bot
be262e8906 chore(release): 0.57.1 [skip ci]
## [0.57.1](https://github.com/saltstack-formulas/salt-formula/compare/v0.57.0...v0.57.1) (2019-05-14)

### Documentation

* **semantic-release:** implement an automated changelog ([b73af20](https://github.com/saltstack-formulas/salt-formula/commit/b73af20))
2019-05-14 19:06:33 +00:00
Imran Iqbal
834d1a6025
Merge pull request #415 from daks/semantic-release
docs(semantic-release): implement an automated changelog
2019-05-14 19:11:30 +01:00
Eric Veiras Galisson
b73af20fe8 docs(semantic-release): implement an automated changelog
plus docs on contributing, testing
2019-05-14 19:21:00 +02:00
Imran Iqbal
7cec4c0bb3
Merge pull request #409 from alxwr/fix-raspbian
osmap: Raspbian used the Debian repo
2019-04-24 00:44:23 +01:00
Alexander Weidinger
0433114083 osmap: Raspbian used the Debian repo 2019-04-24 01:15:51 +02:00
Javier Bértoli
0c0eca2983
Merge pull request #414 from myii/bug/use-py2-centos-7
ci(kitchen+travis): use `py2` instead of `py3` for `centos-7`
2019-04-19 16:00:53 -03:00
Imran Iqbal
071942061d
ci(kitchen+travis): use py2 instead of py3 for centos-7 2019-04-19 19:03:54 +01:00
Niels Abspoel
0ba5261e1b
Merge pull request #412 from myii/bug/fix-windows-py3
fix(windows): use correct `salt-minion` package name
2019-04-19 15:29:30 +02:00
Imran Iqbal
1f0cefdb78
fix(windows): use correct salt-minion package name
* From `salt-winrepo-ng`:
  + https://github.com/saltstack/salt-winrepo-ng/blob/master/salt-minion-py2.sls
    - Package: `salt-minion`
  + https://github.com/saltstack/salt-winrepo-ng/blob/master/salt-minion-py3.sls
    - Package: `salt-minion-py3`
* Close #411
2019-04-18 07:16:56 +01:00
Imran Iqbal
f5ab70e90b
refactor(osfamilymap): rename py_ver_dir since not only for dirs
* Prepare for selecting correct version of Windows `salt-minion` pkg
2019-04-18 07:05:37 +01:00
Niels Abspoel
b07e0cf9d4
Merge pull request #413 from myii/bug/revert-to-resolve-403
Fix regression #403
2019-04-17 10:53:13 +02:00
Imran Iqbal
ab765e3305
Revert "shutup debug output from unless"
This reverts commit 2a0f4617db.

* Close #403
2019-04-16 23:57:20 +01:00
Imran Iqbal
683f45579d
Merge pull request #406 from netmanagers/master
Update the testing matrix (5 distros, 2 python versions, 3 salt versions)
2019-04-02 07:08:21 +01:00
Javier Bértoli
4231029c62 Changed Redhat's repo name and file
To match the one used by the bootstrapper. Otherwhise, we end up with two repos configured
2019-04-01 09:50:27 -03:00
Javier Bértoli
79109b98f0 Try to make centos-6 work 2019-03-31 19:26:59 -03:00
Javier Bértoli
5ffc1e5bc1 Bootstrap using git, so versions don't collide at package install time. 2019-03-31 16:26:52 -03:00
Javier Bértoli
2e1d4c4573 Specify dependencies 2019-03-31 13:02:13 -03:00
Javier Bértoli
9f9bd97f9e We don't need the daemons running at bootstrap time 2019-03-31 12:30:41 -03:00
Javier Bértoli
f494b59fe1 Fix test repo dir, try to get centos-6 working 2019-03-31 12:01:55 -03:00
Javier Bértoli
b2d760cd87 Update the testing matrix to cover most distro+salt+python combinations
Use py3 for latest salt version
Use Python 2 on old distros
Update Gemfile
Updated centos-6 run_command, as it does not use systemd
Added tests to verify correct package versions for all cases tested
2019-03-31 11:44:44 -03:00
Niels Abspoel
764d9eef6d
Merge pull request #402 from aboe76/authors/wip
add autogenerated AUTHORS.md
2019-02-15 21:15:37 +01:00