Browse Source

Test using default permissions for ssh_config

master
Adam Mendlik 7 years ago
parent
commit
b3fd60f016
2 changed files with 1 additions and 2 deletions
  1. +0
    -1
      .kitchen.yml
  2. +1
    -1
      test/integration/default/serverspec/openssl_server_spec.rb

+ 0
- 1
.kitchen.yml View File

openssl.sls: openssl.sls:
openssh: openssh:
sshd_config_mode: '600' sshd_config_mode: '600'
ssh_config_mode: '600'


suites: suites:
- name: default - name: default

+ 1
- 1
test/integration/default/serverspec/openssl_server_spec.rb View File

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

Loading…
Cancel
Save