Add variables for file owner and mode

This commit is contained in:
Adam Mendlik
2017-02-23 14:56:22 -07:00
parent b0afda98ed
commit 613bea2cac
4 changed files with 27 additions and 5 deletions
@@ -14,4 +14,16 @@ describe 'openssl/config.sls' do
it { should be_running }
end
describe file('/etc/ssh/sshd_config') do
it { should be_mode 600 }
it { should be_owned_by 'root' }
it { should be_grouped_into 'root' }
end
describe file('/etc/ssh/ssh_config') do
it { should be_mode 600 }
it { should be_owned_by 'root' }
it { should be_grouped_into 'root' }
end
end