Daniel Dehennin
7752132275
feat(ci): update travis and kitchen to latest formula standards
Import .travis.yml and kitchen.yml from `template-formula`.
4 years ago
Imran Iqbal
9d8228d9db
style(libtofs.jinja): use Black-inspired Jinja formatting [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/237
4 years ago
semantic-release-bot
3c23c42171
chore(release): 1.1.0 [skip ci]
# [1.1.0](https://github.com/saltstack-formulas/openssh-formula/compare/v1.0.0...v1.1.0 ) (2020-07-17)
### Bug Fixes
* **inspec:** make rubocop happy ([2cfb5a7
](2cfb5a74f3
))
### Features
* **test:** remove serverspec files ([049db2b
](049db2bc8e
))
4 years ago
Imran Iqbal
2d1804d7ce
Merge pull request #181 from baby-gnu/fix/make-rubocop-happy
fix(test): make rubocop happy
4 years ago
Daniel Dehennin
2cfb5a74f3
fix(inspec): make rubocop happy
* test/integration/default/controls/services_spec.rb: favor modifier
if usage when having a single-line body.
* test/integration/default/controls/config_spec.rb: add frozen string
literal comment.
* test/integration/default/controls/packages_spec.rb: ditoo.
* test/integration/default/controls/services_spec.rb: ditoo.
4 years ago
Daniel Dehennin
049db2bc8e
feat(test): remove serverspec files
All tests provided by Serverspec are covered by Inspec.
4 years ago
semantic-release-bot
d0d2864d13
chore(release): 1.0.0 [skip ci]
# [1.0.0](https://github.com/saltstack-formulas/openssh-formula/compare/v0.43.3...v1.0.0 ) (2020-07-17)
### Continuous Integration
* **kitchen:** use `saltimages` Docker Hub where available [skip ci] ([bb1ac71
](bb1ac71786
))
### Features
* **templates:** don't get openssh pillars in templates ([cb6e48f
](cb6e48feaa
))
### BREAKING CHANGES
* **templates:** Minimum Salt version support is now `2019.2` in line
with official upstream support; also use of the `traverse` Jinja filter.
4 years ago
Imran Iqbal
cf4046d999
Merge pull request #180 from baby-gnu/feature/pass-context-to-templates
feat(templates): don't get openssh pillars in templates
4 years ago
Daniel Dehennin
cb6e48feaa
feat(templates): don't get openssh pillars in templates
We pass the pillars via the template engine context, this avoid the
need to load `map.jinja` from the templates themselves and recude the
number of `pillar.get` calls.
* openssh/config.sls (sshd_config): pass `sshd_config` in the
context.
(ssh_config): pass `ssh_config` in the context.
* openssh/files/default/ssh_config: remove `map.jinja` import since
it's now in the context.
* openssh/files/default/sshd_config: ditoo.
* openssh/known_hosts.sls: pass `known_hosts` in the context.
* openssh/files/default/ssh_known_hosts: use `known_hosts` from the
context instead of calling `pillar.get` several times.
BREAKING CHANGE: Minimum Salt version support is now `2019.2` in line
with official upstream support; also use of the `traverse` Jinja filter.
4 years ago
Imran Iqbal
24049f3aab
chore(gemfile.lock): update to latest gem versions (2020-W27) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/235
4 years ago
Imran Iqbal
10dcec8676
chore(gemfile.lock): update to latest gem versions (2020-W26) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/233
4 years ago
Imran Iqbal
807a193f0e
chore(gemfile.lock): update to latest gem versions (2020-W25) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/229
4 years ago
Imran Iqbal
bb1ac71786
ci(kitchen): use `saltimages` Docker Hub where available [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/223
4 years ago
Imran Iqbal
03bd059978
chore(gemfile.lock): update to latest gem versions [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/222
4 years ago
Imran Iqbal
b2e122933f
chore(gemfile.lock): update to latest gem versions [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/221
4 years ago
semantic-release-bot
f2042f42f2
chore(release): 0.43.3 [skip ci]
## [0.43.3](https://github.com/saltstack-formulas/openssh-formula/compare/v0.43.2...v0.43.3 ) (2020-06-04)
### Bug Fixes
* **config_ini:** stop failing after the first application ([c7777c7
](c7777c74b2
))
4 years ago
Imran Iqbal
857c7c0cdb
Merge pull request #179 from OrangeDog/patch-2
fix(config_ini): stop failing after the first application
4 years ago
James Howe
c7777c74b2
fix(config_ini): stop failing after the first application
The module is called `ini_manage` but the state prefix is `ini`.
4 years ago
semantic-release-bot
54d75b5b8f
chore(release): 0.43.2 [skip ci]
## [0.43.2](https://github.com/saltstack-formulas/openssh-formula/compare/v0.43.1...v0.43.2 ) (2020-06-04)
### Bug Fixes
* **config_ini:** ensure the tab replacement happens before the edit ([b26b99d
](b26b99d3d0
)), closes [#162 ](https://github.com/saltstack-formulas/openssh-formula/issues/162 )
* **libtofs:** “files_switch” mess up the variable exported by “map.jinja” [skip ci] ([053b787
](053b7879fd
))
### Continuous Integration
* **gemfile:** remove unused `rspec-retry` gem [skip ci] ([5be1c1f
](5be1c1f47c
))
* **gemfile.lock:** add to repo with updated `Gemfile` [skip ci] ([e53bcc1
](e53bcc14dc
))
* **kitchen+travis:** remove `master-py2-arch-base-latest` [skip ci] ([0977485
](0977485b6b
))
* **travis:** add notifications => zulip [skip ci] ([597aeb5
](597aeb5861
))
* **workflows/commitlint:** add to repo [skip ci] ([fa6c65b
](fa6c65b852
))
4 years ago
James Howe
b26b99d3d0
fix(config_ini): ensure the tab replacement happens before the edit
Otherwise #162 can still happen
4 years ago
Imran Iqbal
bfde73f8e3
chore(gemfile.lock): update to latest gem versions [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/202
4 years ago
Imran Iqbal
597aeb5861
ci(travis): add notifications => zulip [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/191
4 years ago
Imran Iqbal
aac36fa49b
chore(codeowners): update `semantic-release` related files [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/174
4 years ago
Imran Iqbal
c973577392
chore(codeowners): add to repo [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/173
4 years ago
Imran Iqbal
fa6c65b852
ci(workflows/commitlint): add to repo [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/172
4 years ago
Imran Iqbal
0977485b6b
ci(kitchen+travis): remove `master-py2-arch-base-latest` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/167
4 years ago
Imran Iqbal
e53bcc14dc
ci(gemfile.lock): add to repo with updated `Gemfile` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/163
4 years ago
Imran Iqbal
81c716ea29
chore(rubocop): use org-wide standard settings for `Metrics/BlockLength` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/158
4 years ago
Imran Iqbal
77c9605e8b
chore(gitignore): update from the `template-formula` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/132
4 years ago
Imran Iqbal
053b7879fd
fix(libtofs): “files_switch” mess up the variable exported by “map.jinja” [skip ci]
* Checked using https://github.com/myii/ssf-formula/pull/131
4 years ago
Imran Iqbal
928f5ec89a
chore(rubocop): move `LineLength` cop from `Metrics` to `Layout` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/129
4 years ago
Imran Iqbal
5be1c1f47c
ci(gemfile): remove unused `rspec-retry` gem [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/126
4 years ago
semantic-release-bot
fecc777d23
chore(release): 0.43.1 [skip ci]
## [0.43.1](https://github.com/saltstack-formulas/openssh-formula/compare/v0.43.0...v0.43.1 ) (2020-02-07)
### Continuous Integration
* **gemfile:** update for Vagrant testing [skip ci] ([7257ade
](7257adefee
))
* **kitchen:** avoid using bootstrap for `master` instances [skip ci] ([ddbc3b2
](ddbc3b228b
))
### Tests
* **packages_spec:** prevent control for `bsd` family ([fe1af09
](fe1af098b3
))
4 years ago
Imran Iqbal
554633d7c0
Merge pull request #174 from myii/test/prevent-package-control-for-bsd
test(packages_spec): prevent control for `bsd` family
4 years ago
Imran Iqbal
fe1af098b3
test(packages_spec): prevent control for `bsd` family
* Refactor `package_name` using `case` like other formulas
4 years ago
Imran Iqbal
7257adefee
ci(gemfile): update for Vagrant testing [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/125
4 years ago
Imran Iqbal
ddbc3b228b
ci(kitchen): avoid using bootstrap for `master` instances [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/124
4 years ago
semantic-release-bot
1fba17e826
chore(release): 0.43.0 [skip ci]
# [0.43.0](https://github.com/saltstack-formulas/openssh-formula/compare/v0.42.3...v0.43.0 ) (2020-01-20)
### Bug Fixes
* **release.config.js:** use full commit hash in commit link [skip ci] ([0f68f19
](0f68f1957e
))
### Continuous Integration
* **gemfile:** restrict `train` gem version until upstream fix [skip ci] ([14787d1
](14787d1d3e
))
* **kitchen:** add pre-salted `FreeBSD-12.0` box for local testing ([ec81c32
](ec81c32210
))
* **kitchen:** use `develop` image until `master` is ready (`amazonlinux`) [skip ci] ([d22ac05
](d22ac056e5
))
* **kitchen+travis:** upgrade matrix after `2019.2.2` release [skip ci] ([3aa890e
](3aa890eff7
))
* **travis:** apply changes from build config validation [skip ci] ([8bdd13f
](8bdd13fd0f
))
* **travis:** opt-in to `dpl v2` to complete build config validation [skip ci] ([2802793
](28027937f8
))
* **travis:** quote pathspecs used with `git ls-files` [skip ci] ([fa3b9a3
](fa3b9a342e
))
* **travis:** run `shellcheck` during lint job [skip ci] ([cd91262
](cd9126248c
))
* **travis:** use `major.minor` for `semantic-release` version [skip ci] ([dfaeb8f
](dfaeb8f505
))
* **travis:** use build config validation (beta) [skip ci] ([840ab6a
](840ab6a2fc
))
### Features
* **ssh_known_hosts:** allow to omit IP addresses ([ea221ab
](ea221ab52b
))
### Performance Improvements
* **travis:** improve `salt-lint` invocation [skip ci] ([875148b
](875148b387
))
5 years ago
alxwr
ea221ab52b
feat(ssh_known_hosts): allow to omit IP addresses
5 years ago
Imran Iqbal
dfaeb8f505
ci(travis): use `major.minor` for `semantic-release` version [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/112
5 years ago
Imran Iqbal
14787d1d3e
ci(gemfile): restrict `train` gem version until upstream fix [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/110
5 years ago
Imran Iqbal
fa3b9a342e
ci(travis): quote pathspecs used with `git ls-files` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/107
5 years ago
Imran Iqbal
cd9126248c
ci(travis): run `shellcheck` during lint job [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/106
5 years ago
Imran Iqbal
28027937f8
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 years ago
Imran Iqbal
8bdd13fd0f
ci(travis): apply changes from build config validation [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/98
5 years ago
Imran Iqbal
840ab6a2fc
ci(travis): use build config validation (beta) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/97
5 years ago
Imran Iqbal
d22ac056e5
ci(kitchen): use `develop` image until `master` is ready (`amazonlinux`) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/93
5 years ago
Imran Iqbal
875148b387
perf(travis): improve `salt-lint` invocation [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/90
5 years ago
Imran Iqbal
0f68f1957e
fix(release.config.js): use full commit hash in commit link [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/89
5 years ago
Niels Abspoel
6cfdb9b8b2
Merge pull request #172 from myii/ci/add-pre-salted-FreeBSD-Vagrant-box
ci(kitchen): add pre-salted `FreeBSD-12.0` box for local testing
5 years ago