Skip to content

Commit

Permalink
Support version 7.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-harvey-z3q committed Sep 25, 2023
1 parent b765040 commit 94699c9
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 15 deletions.
17 changes: 14 additions & 3 deletions .README.erb
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,12 @@ earlier|1.8.0
1.20.0|2.8.0, 2.8.1
3.0.0|3.0.0, 3.0.1, 3.0.2, 3.1.0, 3.2.0, 3.3.0
3.4.0|3.4.0
3.5.0|3.5.0
3.5.0|3.5.0, 3.6.0
4.0.0|4.0.0
4.0.1|4.0.1, 4.1.0
5.0.0|5.0.0
6.0.0|6.0.0
7.0.0|7.0.0, 7.0.1, 7.0.2

Note that Puppet 3 support was dropped in version 1.11.0. Note that the versioning was changed to 3.0.0 to match the upstream versioning without any changes made.

Expand Down Expand Up @@ -287,12 +292,18 @@ Make sure you have:
* rake
* bundler

Pre config:

bundle config set specific_platform true
rm -f Gemfile.lock

Install the necessary gems:

bundle install
bundle install --path vendor/bundle

To run the tests from the root of the source code:

bundle exec rake spec_prep
bundle exec rake spec

To run the acceptance tests:
Expand All @@ -307,7 +318,7 @@ Ensure you have these lines in `~/.bash_profile`:

export BLACKSMITH_FORGE_URL=https://forgeapi.puppetlabs.com
export BLACKSMITH_FORGE_USERNAME=alexharvey
export BLACKSMITH_FORGE_PASSWORD=xxxxxxxxx
export BLACKSMITH_FORGE_API_KEY=xxxxxxxx

Build the module and push to Forge:

Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2023009-25 - Version 7.0.0
- Update to support changes in firewall 7.0.0 (thanks @robertc99)
- Also support 7.0.1 and 7.0.2
- Update gen_params.sh

2023-05-26 - Version 6.0.0
- Update to support changes in firewall 6.0.0 (Issue #36, thanks @robertc99)
- Update docs to support bundle config set specific_platform true
Expand Down
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ At present the following inputs can be arrays:
* destination
* proto
* icmp
* provider
* protocol

## Support status

Expand Down Expand Up @@ -86,6 +86,7 @@ earlier|1.8.0
4.0.1|4.0.1, 4.1.0
5.0.0|5.0.0
6.0.0|6.0.0
7.0.0|7.0.0, 7.0.1, 7.0.2

Note that Puppet 3 support was dropped in version 1.11.0. Note that the versioning was changed to 3.0.0 to match the upstream versioning without any changes made.

Expand Down Expand Up @@ -141,11 +142,11 @@ resources for arrays of certain inputs.

The following parameters are available in the `firewall_multi` defined type:

* [`source`](#source)
* [`destination`](#destination)
* [`proto`](#proto)
* [`icmp`](#icmp)
* [`provider`](#provider)
* [`source`](#-firewall_multi--source)
* [`destination`](#-firewall_multi--destination)
* [`proto`](#-firewall_multi--proto)
* [`icmp`](#-firewall_multi--icmp)
* [`protocol`](#-firewall_multi--protocol)
### Functions

#### <a name="firewall_multi"></a>`firewall_multi`
Expand Down
10 changes: 6 additions & 4 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
$condition = undef,
$connlimit_above = undef,
$connlimit_mask = undef,
$connlimit_upto = undef,
$connmark = undef,
$ctdir = undef,
$ctexpire = undef,
Expand Down Expand Up @@ -77,7 +78,6 @@
$kernel_timezone = undef,
$length = undef,
$limit = undef,
$line = undef,
$log_ip_options = undef,
$log_level = undef,
$log_prefix = undef,
Expand All @@ -89,6 +89,7 @@
$match_mark = undef,
$month_days = undef,
$mss = undef,
$name = undef,
$nflog_group = undef,
$nflog_prefix = undef,
$nflog_range = undef,
Expand Down Expand Up @@ -137,7 +138,6 @@
$string_from = undef,
$string_hex = undef,
$string_to = undef,
$table = undef,
$tcp_flags = undef,
$tcp_option = undef,
$time_contiguous = undef,
Expand All @@ -147,6 +147,7 @@
$todest = undef,
$toports = undef,
$tosource = undef,
$u32 = undef,
$uid = undef,
$week_days = undef,
$zone = undef,
Expand All @@ -172,6 +173,7 @@
condition => $condition,
connlimit_above => $connlimit_above,
connlimit_mask => $connlimit_mask,
connlimit_upto => $connlimit_upto,
connmark => $connmark,
ctdir => $ctdir,
ctexpire => $ctexpire,
Expand Down Expand Up @@ -223,7 +225,6 @@
kernel_timezone => $kernel_timezone,
length => $length,
limit => $limit,
line => $line,
log_ip_options => $log_ip_options,
log_level => $log_level,
log_prefix => $log_prefix,
Expand All @@ -235,6 +236,7 @@
match_mark => $match_mark,
month_days => $month_days,
mss => $mss,
name => $name,
nflog_group => $nflog_group,
nflog_prefix => $nflog_prefix,
nflog_range => $nflog_range,
Expand Down Expand Up @@ -283,7 +285,6 @@
string_from => $string_from,
string_hex => $string_hex,
string_to => $string_to,
table => $table,
tcp_flags => $tcp_flags,
tcp_option => $tcp_option,
time_contiguous => $time_contiguous,
Expand All @@ -293,6 +294,7 @@
todest => $todest,
toports => $toports,
tosource => $tosource,
u32 => $u32,
uid => $uid,
week_days => $week_days,
zone => $zone,
Expand Down
4 changes: 2 additions & 2 deletions metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "alexharvey-firewall_multi",
"version": "6.0.0",
"version": "7.0.0",
"author": "Alex Harvey",
"summary": "A multiplexer frontend for puppetlabs/firewall",
"license": "MIT",
Expand Down Expand Up @@ -78,7 +78,7 @@
"dependencies": [
{
"name": "puppetlabs/firewall",
"version_requirement": ">= 7.0.0 < 8.0.0"
"version_requirement": "7.0.2"
}
]
}

0 comments on commit 94699c9

Please sign in to comment.