openssl.sls: | openssl.sls: | ||||
openssh: | openssh: | ||||
sshd_config_mode: '600' | sshd_config_mode: '600' | ||||
ssh_config_mode: '600' | |||||
suites: | suites: | ||||
- name: default | - name: default |
end | end | ||||
describe file('/etc/ssh/ssh_config') do | describe file('/etc/ssh/ssh_config') do | ||||
it { should be_mode 600 } | |||||
it { should be_mode 644 } | |||||
it { should be_owned_by 'root' } | it { should be_owned_by 'root' } | ||||
it { should be_grouped_into 'root' } | it { should be_grouped_into 'root' } | ||||
end | end |