Daniel Dehennin
|
06ef24b8e1
|
test(config_spec): verify /etc/ssh/ssh_known_hosts
|
2020-07-21 10:52:03 +02:00 |
|
Daniel Dehennin
|
6b7d8df156
|
fix(inspec): the package name for Arch is openssh
For Arch, Inspec define `platform[:family]` as `linux` and
`platform[:name]` as `arch`.
|
2020-07-20 16:28:28 +02:00 |
|
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.
|
2020-07-17 16:31:46 +02:00 |
|
Imran Iqbal
|
fe1af098b3
|
test(packages_spec): prevent control for bsd family
* Refactor `package_name` using `case` like other formulas
|
2020-02-07 12:49:47 +00:00 |
|
Imran Iqbal
|
047b753a9e
|
test(inspec): fix config_spec tests on *BSD (wheel not root )
|
2019-10-27 00:04:16 +01:00 |
|
Imran Iqbal
|
267042c838
|
test(inspec): add tests based on existing Serverspec tests (#168)
* ci(kitchen): use `openssh.config` as `state_top`
* Semi-automated using https://github.com/myii/ssf-formula/pull/33
* test(pillar): remove deprecated option and disabled method
* https://travis-ci.org/myii/openssh-formula/jobs/585340845#L1811-L1813:
* test(pillar): use same SSH options as used by Travis
* Using existing options locks out after `kitchen converge` (before `verify`)
* https://travis-ci.org/myii/openssh-formula/jobs/585356835#L2957-L2965:
* test(inspec): add tests based on existing Serverspec tests
* Follows on from #166
|
2019-09-16 20:28:05 +02:00 |
|