From b3fd60f016497b83e761052a3c90f7d9877d27e8 Mon Sep 17 00:00:00 2001 From: Adam Mendlik Date: Fri, 24 Feb 2017 13:39:59 -0700 Subject: [PATCH] Test using default permissions for ssh_config --- .kitchen.yml | 1 - test/integration/default/serverspec/openssl_server_spec.rb | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.kitchen.yml b/.kitchen.yml index d7b7f75..fa97d23 100644 --- a/.kitchen.yml +++ b/.kitchen.yml @@ -23,7 +23,6 @@ provisioner: openssl.sls: openssh: sshd_config_mode: '600' - ssh_config_mode: '600' suites: - name: default diff --git a/test/integration/default/serverspec/openssl_server_spec.rb b/test/integration/default/serverspec/openssl_server_spec.rb index d4d5572..944b10b 100644 --- a/test/integration/default/serverspec/openssl_server_spec.rb +++ b/test/integration/default/serverspec/openssl_server_spec.rb @@ -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