Imran Iqbal
7ca0411765
chore(pre-commit): use `info` report level for `rstcheck` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/325
il y a 3 ans
Imran Iqbal
1af42b215e
ci: add `arch-master` to matrix and update `.travis.yml` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/323
il y a 3 ans
Imran Iqbal
52abade182
docs(readme): fix headings [skip ci]
il y a 3 ans
Imran Iqbal
c82927fbc8
ci(kitchen+gitlab): adjust matrix to add `3003` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/318
il y a 3 ans
Imran Iqbal
3f6c4a05ac
test(_mapdata): add verification file for `fedora-34` [skip ci]
il y a 3 ans
Imran Iqbal
7c698591c8
ci(vagrant): add FreeBSD 13.0 [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/316
il y a 3 ans
Imran Iqbal
018a47cdd8
test(freebsd): add `map.jinja` verification file (for 13.0)
il y a 3 ans
Imran Iqbal
531de164b6
ci(vagrant): use pre-salted boxes & conditional local settings [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/311
il y a 3 ans
Imran Iqbal
10fc975bfb
chore: update `CODEOWNERS` & `.yamllint` re: `kitchen-vagrant` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/310
il y a 3 ans
semantic-release-bot
48d539746d
chore(release): 3.0.1 [skip ci]
## [3.0.1](https://github.com/saltstack-formulas/openssh-formula/compare/v3.0.0...v3.0.1 ) (2021-03-26)
### Bug Fixes
* **openbsd:** fix `dig_pkg`, avoid `UsePAM` & add verification file ([2868560
](286856058a
))
### Continuous Integration
* enable Vagrant-based testing using GitHub Actions ([f1af455
](f1af45593d
))
* **gemfile+lock:** use `ssf` customised `kitchen-docker` repo [skip ci] ([01512a0
](01512a0ec4
))
* **kitchen+ci:** use latest pre-salted images (after CVE) [skip ci] ([79321be
](79321be76f
))
* **kitchen+gitlab-ci:** use latest pre-salted images [skip ci] ([c2a366f
](c2a366f9c7
))
* **pre-commit:** update hook for `rubocop` [skip ci] ([ccb6a44
](ccb6a44875
))
### Documentation
* **readme:** add `Testing with Vagrant` section ([2f8c31c
](2f8c31c66c
))
### Tests
* **freebsd:** add `map.jinja` verification files (for 11.4 & 12.2) ([4c857fe
](4c857fe071
))
* standardise use of `share` suite & `_mapdata` state [skip ci] ([35a2124
](35a2124a43
))
* **_mapdata:** add verification files for new platforms ([748eded
](748ededc7a
))
* **share:** standardise with latest changes [skip ci] ([de969f1
](de969f10f1
))
il y a 3 ans
Imran Iqbal
7abe9c9d92
Merge pull request #199 from myii/ci/add-vagrant-testing-via-github-actions
ci: enable Vagrant-based testing using GitHub Actions
il y a 3 ans
Imran Iqbal
2f8c31c66c
docs(readme): add `Testing with Vagrant` section
il y a 3 ans
Imran Iqbal
286856058a
fix(openbsd): fix `dig_pkg`, avoid `UsePAM` & add verification file
il y a 3 ans
Imran Iqbal
4c857fe071
test(freebsd): add `map.jinja` verification files (for 11.4 & 12.2)
il y a 3 ans
Imran Iqbal
f1af45593d
ci: enable Vagrant-based testing using GitHub Actions
* Semi-automated using https://github.com/myii/ssf-formula/pull/304
il y a 3 ans
Imran Iqbal
35a2124a43
test: standardise use of `share` suite & `_mapdata` state [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/302
il y a 3 ans
Imran Iqbal
79321be76f
ci(kitchen+ci): use latest pre-salted images (after CVE) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/299
il y a 3 ans
Imran Iqbal
ba640fc0c3
chore(yamllint): add `.git/` to ignores [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/297
il y a 3 ans
Daniel Dehennin
eafc780866
chore(rubocop): allow use of `YAML.load` for `_mapdata.rb` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/296
il y a 3 ans
Dafydd Jones
d21579fdae
chore(shellcheck): switch hook for `shellcheck` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/295
il y a 3 ans
Imran Iqbal
01512a0ec4
ci(gemfile+lock): use `ssf` customised `kitchen-docker` repo [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/294
il y a 3 ans
Imran Iqbal
c2a366f9c7
ci(kitchen+gitlab-ci): use latest pre-salted images [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/293
il y a 3 ans
Imran Iqbal
748ededc7a
test(_mapdata): add verification files for new platforms
* `fedora-33`
* `opensuse-tumbleweed`
* `oraclelinux-7`
* `oraclelinux-8`
* `gentoo-2-sysd`
* `gentoo-2-sysv`
il y a 3 ans
Imran Iqbal
a0d3e3ed8c
chore: standardise structure (`.gitignore` & `_mapdata.rb`) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/292
il y a 3 ans
Imran Iqbal
ccb6a44875
ci(pre-commit): update hook for `rubocop` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/290
il y a 3 ans
Imran Iqbal
de969f10f1
test(share): standardise with latest changes [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/288
il y a 3 ans
semantic-release-bot
e04536913d
chore(release): 3.0.0 [skip ci]
# [3.0.0](https://github.com/saltstack-formulas/openssh-formula/compare/v2.0.6...v3.0.0 ) (2021-01-12)
### Code Refactoring
* **map:** compound matchers like parsing with `libmatchers` ([925c86e
](925c86ea69
))
* **map:** load `defaults.jinja` configuration with `libmapstack` ([174bb68
](174bb68432
))
* **map:** load `map.jinja` configuration with `libmapstack` ([568bb7c
](568bb7ce40
))
* **map:** load formula configuration with `libmatchers` ([ff6b56c
](ff6b56c4a4
))
### Documentation
* **map:** document the new `map.jinja` with targeting like syntax ([7ecb24b
](7ecb24bdc1
))
### Features
* **map:** use targeting like syntax for configuration ([1be0d87
](1be0d8725a
))
* **matchers:** add delimiter option for source definitions ([d69556d
](d69556d5ae
))
### Styles
* **mapstack:** variables in macro can't be exported ([7de2d6f
](7de2d6fd75
))
### BREAKING CHANGES
* **map:** the configuration `map_jinja:sources` is only
configurable with `salt://parameters/map_jinja.yaml`
and `salt://{{ tplroot }}/parameters/map_jinja.yaml`
* **map:** the `map_jinja:config_get_roots` is replaced by
compound like `map_jinja:sources`
* **map:** the two `config_get_lookup` and `config_get` are
replaced by `C@<tplroot>:lookup` and `C@<tplroot>`
sources
il y a 4 ans
Imran Iqbal
9955923682
Merge pull request #191 from baby-gnu/feature/map-config-targeting-like-syntax
feat(map): use targeting like syntax for configuration
il y a 4 ans
Daniel Dehennin
7de2d6fd75
style(mapstack): variables in macro can't be exported
No need to prefix some of them with underscore `_`.
il y a 4 ans
Daniel Dehennin
ff6b56c4a4
refactor(map): load formula configuration with `libmatchers`
il y a 4 ans
Daniel Dehennin
174bb68432
refactor(map): load `defaults.jinja` configuration with `libmapstack`
il y a 4 ans
Daniel Dehennin
568bb7ce40
refactor(map): load `map.jinja` configuration with `libmapstack`
il y a 4 ans
Daniel Dehennin
d69556d5ae
feat(matchers): add delimiter option for source definitions
il y a 4 ans
Daniel Dehennin
925c86ea69
refactor(map): compound matchers like parsing with `libmatchers`
il y a 4 ans
Daniel Dehennin
7ecb24bdc1
docs(map): document the new `map.jinja` with targeting like syntax
il y a 4 ans
Daniel Dehennin
1be0d8725a
feat(map): use targeting like syntax for configuration
The `config_get_lookup` and `config_get` sources lack flexibility.
It's not easy to query several pillars and/or grains keys with the
actual system. And the query method is forced to `config.get` without
being configurable by the user.
We define a mechanism to select `map.jinja` sources with similar
notation as the salt targeting system.
The `map.jinja` file uses several sources where to lookup parameter
values. The list of sources can be modified by two files:
1. a global salt://parameters/map_jinja.yaml
2. a per formula salt://{{ tplroot }}/parameters/map_jinja.yaml.
Each source definition has the form `<TYPE>:<OPTION>@<KEY>` where
`<TYPE>` can be one of:
- `Y` to load values from YAML files, this is the default when no type
is defined
- `C` to lookup values with `config.get`
- `G` to lookup values with `grains.get`
- `I` to lookup values with `pillar.get`
The YAML type option can define the query method to lookup the key
value to build the file name:
- `C` to query with `config.get`, this is the default when to query
method is defined
- `G` to query with `grains.get`
- `I` to query with `pillar.get`
The `C`, `G` or `I` types can define the `SUB` option to store values
in the sub key `mapdata.<key>` instead of directly in `mapdata`.
Finally, the `<KEY>` describe what to lookup to either build the YAML
filename or gather values using one of the query method.
BREAKING CHANGE: the configuration `map_jinja:sources` is only
configurable with `salt://parameters/map_jinja.yaml`
and `salt://{{ tplroot }}/parameters/map_jinja.yaml`
BREAKING CHANGE: the `map_jinja:config_get_roots` is replaced by
compound like `map_jinja:sources`
BREAKING CHANGE: the two `config_get_lookup` and `config_get` are
replaced by `C@<tplroot>:lookup` and `C@<tplroot>`
sources
il y a 4 ans
semantic-release-bot
b9b8eb7618
chore(release): 2.0.6 [skip ci]
## [2.0.6](https://github.com/saltstack-formulas/openssh-formula/compare/v2.0.5...v2.0.6 ) (2020-12-23)
### Code Refactoring
* **map:** use top-level `values:` key in `map.jinja` dumps ([37597e5
](37597e5b12
))
il y a 4 ans
Imran Iqbal
e246937ebe
Merge pull request #197 from myii/refactor/use-top-level-values-in-map-jinja-dumps
refactor(map): use top-level `values:` key in `map.jinja` dumps
il y a 4 ans
Imran Iqbal
37597e5b12
refactor(map): use top-level `values:` key in `map.jinja` dumps
* Semi-automated using https://github.com/myii/ssf-formula/pull/284
il y a 4 ans
semantic-release-bot
f941871f0b
chore(release): 2.0.5 [skip ci]
## [2.0.5](https://github.com/saltstack-formulas/openssh-formula/compare/v2.0.4...v2.0.5 ) (2020-12-22)
### Continuous Integration
* **commitlint:** ensure `upstream/master` uses main repo URL [skip ci] ([7af3bf2
](7af3bf255d
))
* **gitlab-ci:** add `rubocop` linter (with `allow_failure`) [skip ci] ([37b9f3a
](37b9f3ac09
))
* **gitlab-ci:** use GitLab CI as Travis CI replacement ([bccd5fd
](bccd5fd3d8
))
* **pre-commit:** add to formula [skip ci] ([4e13609
](4e13609b99
))
* **pre-commit:** enable/disable `rstcheck` as relevant [skip ci] ([094bef5
](094bef5406
))
* **pre-commit:** finalise `rstcheck` configuration [skip ci] ([75e843a
](75e843a7bd
))
### Tests
* **map:** standardise `map.jinja` verification ([2bab68f
](2bab68f5ff
))
il y a 4 ans
Imran Iqbal
a7d9ae2dc1
Merge pull request #193 from myii/test/compare-mapdata-using-yaml
test(map): standardise `map.jinja` verification
il y a 4 ans
Imran Iqbal
2bab68f5ff
test(map): standardise `map.jinja` verification
* Automated using https://github.com/myii/ssf-formula/pull/281
il y a 4 ans
Imran Iqbal
7af3bf255d
ci(commitlint): ensure `upstream/master` uses main repo URL [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/278
il y a 4 ans
Imran Iqbal
37b9f3ac09
ci(gitlab-ci): add `rubocop` linter (with `allow_failure`) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/277
il y a 4 ans
Imran Iqbal
bccd5fd3d8
ci(gitlab-ci): use GitLab CI as Travis CI replacement
* Automated using https://github.com/myii/ssf-formula/pull/275
il y a 4 ans
Imran Iqbal
3f5dba1102
chore(gemfile+lock): update to latest gem versions (2020-W44) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/274
il y a 4 ans
Imran Iqbal
97c2ebf8f3
chore(gemfile+lock): update to latest gem versions (2020-W43) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/273
il y a 4 ans
Imran Iqbal
75e843a7bd
ci(pre-commit): finalise `rstcheck` configuration [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/267
il y a 4 ans
Dafydd Jones
340cc0abe7
chore(commitlint): add `{body,footer,header}-max(-line)-length` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/265
il y a 4 ans
Imran Iqbal
4d49d24490
chore(gemfile+lock): update to latest gem versions (2020-W41) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/263
il y a 4 ans