267042c838
* 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
14 lines
254 B
Ruby
14 lines
254 B
Ruby
# Overide by Platform
|
|
package_name = 'openssh-server'
|
|
if platform[:family] == 'suse'
|
|
package_name = 'openssh'
|
|
end
|
|
|
|
control 'openssh package' do
|
|
title 'should be installed'
|
|
|
|
describe package(package_name) do
|
|
it { should be_installed }
|
|
end
|
|
end
|