16 lines
352 B
Ruby
16 lines
352 B
Ruby
|
require 'spec_helper'
|
||
|
|
||
|
describe 'yum-rsyslog::default' do
|
||
|
describe yumrepo('rsyslog') do
|
||
|
it { should be_enabled }
|
||
|
end
|
||
|
|
||
|
describe file('/etc/yum.repos.d/rsyslog.repo') do
|
||
|
it { should be_file }
|
||
|
it { should be_mode 644 }
|
||
|
it { should be_owned_by 'root' }
|
||
|
it { should be_grouped_into 'root' }
|
||
|
end
|
||
|
end
|
||
|
|