mirror of
https://github.com/saltstack-formulas/openssh-formula.git
synced 2026-07-31 11:55:26 +02:00
Add variables for file owner and mode
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user