`ensure` can either be 'present' or 'latest'. Defaults to 'present'.
+#### ebtables_manage
+
+Parameter that controls whether puppet manages the ebtables package or not. If managed, the package will use the value of `pkg_ensure` as its ensure value.
+
#### service_name
Specify the name of the IPv4 iptables service. Defaults defined in `firewall::params`.
let(:params) {{ :ensure => 'test' }}
it { expect { should contain_class('firewall::linux') }.to raise_error(Puppet::Error) }
end
+
+ context 'ebtables_manage => true' do
+ let(:facts) {{ :kernel => 'Linux' }}
+ let(:params) {{ :ebtables_manage => true }}
+ it { expect { should contain_package('ebtables') }.to raise_error(Puppet::Error) }
+ end
end
require 'spec_helper'
+requier 'puppet/util/ipcidr'
describe 'Puppet::Util::IPCidr' do
describe 'ipv4 address' do