Added puppetlabs-firewall (required by puppetlabs-postgresql), updated the other modules.
This commit is contained in:
parent
5f4b7a3b72
commit
dee66abcdd
137 changed files with 11118 additions and 419 deletions
|
@ -0,0 +1,22 @@
|
|||
require 'spec_helper'
|
||||
|
||||
describe 'firewall::linux::redhat', :type => :class do
|
||||
it { should contain_service('iptables').with(
|
||||
:ensure => 'running',
|
||||
:enable => 'true'
|
||||
)}
|
||||
|
||||
context 'ensure => stopped' do
|
||||
let(:params) {{ :ensure => 'stopped' }}
|
||||
it { should contain_service('iptables').with(
|
||||
:ensure => 'stopped'
|
||||
)}
|
||||
end
|
||||
|
||||
context 'enable => false' do
|
||||
let(:params) {{ :enable => 'false' }}
|
||||
it { should contain_service('iptables').with(
|
||||
:enable => 'false'
|
||||
)}
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue