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

@@ -23,7 +23,6 @@ provisioner:
openssl.sls:
openssh:
sshd_config_mode: '600'
ssh_config_mode: '600'

suites:
- name: default

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

@@ -21,7 +21,7 @@ describe 'openssl/config.sls' do
end

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_grouped_into 'root' }
end

Loading…
Cancel
Save