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,19 @@
|
|||
require 'spec_helper'
|
||||
|
||||
describe 'firewall::linux::debian', :type => :class do
|
||||
it { should contain_package('iptables-persistent').with(
|
||||
:ensure => 'present'
|
||||
)}
|
||||
it { should contain_service('iptables-persistent').with(
|
||||
:ensure => nil,
|
||||
:enable => 'true',
|
||||
:require => 'Package[iptables-persistent]'
|
||||
)}
|
||||
|
||||
context 'enable => false' do
|
||||
let(:params) {{ :enable => 'false' }}
|
||||
it { should contain_service('iptables-persistent').with(
|
||||
:enable => 'false'
|
||||
)}
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue