5102e5130a
This patch enables Firewalling in this Puppet modules in a flexible way. * Enable firewalling optionnaly (disabled by default). * Enable 'pre' firewalling with defaults rules. * Enable 'post' firewalling with DROP rule, with a debug option to disable it. * Enable default rules for all services (OpenStack, etc). * Ability to add custom firewall rules with Hiera * Update puppetlabs-firewall refs * Refactorize unit-tests
17 lines
457 B
Ruby
17 lines
457 B
Ruby
require 'puppetlabs_spec_helper/module_spec_helper'
|
|
require 'shared_examples'
|
|
|
|
RSpec.configure do |c|
|
|
c.alias_it_should_behave_like_to :it_configures, 'configures'
|
|
c.alias_it_should_behave_like_to :it_raises, 'raises'
|
|
|
|
c.default_facts = {
|
|
:kernel => 'Linux',
|
|
:concat_basedir => '/var/lib/puppet/concat',
|
|
:memorysize => '1000 MB',
|
|
:processorcount => '1',
|
|
:puppetversion => '3.7.3',
|
|
:uniqueid => '123'
|
|
}
|
|
end
|