Skip to content

Commit aa2da4c

Browse files
authored
Merge pull request #970 from puppetlabs/release
Release merge back for v2.8.1 PR merged
2 parents faa36a8 + 0acdf62 commit aa2da4c

File tree

3 files changed

+49
-22
lines changed

3 files changed

+49
-22
lines changed

CHANGELOG.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org).
44

5+
## [v2.8.1](https://github.com/puppetlabs/puppetlabs-firewall/tree/v2.8.1) (2021-02-08)
6+
7+
[Full Changelog](https://github.com/puppetlabs/puppetlabs-firewall/compare/v2.8.0...v2.8.1)
8+
9+
### Fixed
10+
11+
- \[MODULES-10907\] Do not remove spaces from hex string with ! [\#967](https://github.com/puppetlabs/puppetlabs-firewall/pull/967) ([adrianiurca](https://github.com/adrianiurca))
12+
513
## [v2.8.0](https://github.com/puppetlabs/puppetlabs-firewall/tree/v2.8.0) (2020-12-14)
614

715
[Full Changelog](https://github.com/puppetlabs/puppetlabs-firewall/compare/v2.7.0...v2.8.0)
@@ -74,7 +82,6 @@ All notable changes to this project will be documented in this file. The format
7482
### Fixed
7583

7684
- \(maint\) Use fact.flush only when available [\#906](https://github.com/puppetlabs/puppetlabs-firewall/pull/906) ([Filipovici-Andrei](https://github.com/Filipovici-Andrei))
77-
- \(MODULES-10358\) - Clarification added to Boolean validation checks [\#886](https://github.com/puppetlabs/puppetlabs-firewall/pull/886) ([david22swan](https://github.com/david22swan))
7885
- Merge and remove duplicate README file, lint code snippets [\#878](https://github.com/puppetlabs/puppetlabs-firewall/pull/878) ([runejuhl](https://github.com/runejuhl))
7986

8087
## [v2.2.0](https://github.com/puppetlabs/puppetlabs-firewall/tree/v2.2.0) (2019-12-09)
@@ -90,6 +97,7 @@ All notable changes to this project will be documented in this file. The format
9097

9198
### Fixed
9299

100+
- \(MODULES-10358\) - Clarification added to Boolean validation checks [\#886](https://github.com/puppetlabs/puppetlabs-firewall/pull/886) ([david22swan](https://github.com/david22swan))
93101
- Change - Avoid puppet failures on windows nodes [\#874](https://github.com/puppetlabs/puppetlabs-firewall/pull/874) ([blackknight36](https://github.com/blackknight36))
94102
- Fix parsing iptables rules with hyphen in comments [\#861](https://github.com/puppetlabs/puppetlabs-firewall/pull/861) ([Hexta](https://github.com/Hexta))
95103

@@ -165,6 +173,7 @@ All notable changes to this project will be documented in this file. The format
165173
- Changed regex for iniface and outiface to allow '@' in interface names [\#791](https://github.com/puppetlabs/puppetlabs-firewall/pull/791) ([GeorgeCox](https://github.com/GeorgeCox))
166174
- \(MODULES-8214\) Handle src\_type and dst\_type as array [\#790](https://github.com/puppetlabs/puppetlabs-firewall/pull/790) ([mateusz-gozdek-sociomantic](https://github.com/mateusz-gozdek-sociomantic))
167175
- \(MODULES-7990\) Merge multiple comments into one while parsing rules [\#789](https://github.com/puppetlabs/puppetlabs-firewall/pull/789) ([mateusz-gozdek-sociomantic](https://github.com/mateusz-gozdek-sociomantic))
176+
- add -g flag handling in ip6tables.rb provider [\#788](https://github.com/puppetlabs/puppetlabs-firewall/pull/788) ([cestith](https://github.com/cestith))
168177
- \(MODULES-7681\) Add support for bytecode property [\#771](https://github.com/puppetlabs/puppetlabs-firewall/pull/771) ([baurmatt](https://github.com/baurmatt))
169178

170179
### Fixed
@@ -890,4 +899,4 @@ Initial release.
890899
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
891900

892901

893-
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
902+
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*

REFERENCE.md

Lines changed: 37 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
## Classes
2828

29-
### `firewall`
29+
### <a name="firewall"></a>`firewall`
3030

3131
Performs the basic setup tasks required for using the firewall resources.
3232

@@ -45,57 +45,65 @@ class { 'firewall': }
4545

4646
#### Parameters
4747

48-
The following parameters are available in the `firewall` class.
48+
The following parameters are available in the `firewall` class:
4949

50-
##### `ensure`
50+
* [`ensure`](#ensure)
51+
* [`ensure_v6`](#ensure_v6)
52+
* [`pkg_ensure`](#pkg_ensure)
53+
* [`service_name`](#service_name)
54+
* [`service_name_v6`](#service_name_v6)
55+
* [`package_name`](#package_name)
56+
* [`ebtables_manage`](#ebtables_manage)
57+
58+
##### <a name="ensure"></a>`ensure`
5159

5260
Data type: `Any`
5361

5462
Controls the state of the ipv4 iptables service on your system. Valid options: 'running' or 'stopped'.
5563

5664
Default value: `running`
5765

58-
##### `ensure_v6`
66+
##### <a name="ensure_v6"></a>`ensure_v6`
5967

6068
Data type: `Any`
6169

6270
Controls the state of the ipv6 iptables service on your system. Valid options: 'running' or 'stopped'.
6371

6472
Default value: ``undef``
6573

66-
##### `pkg_ensure`
74+
##### <a name="pkg_ensure"></a>`pkg_ensure`
6775

6876
Data type: `Any`
6977

7078
Controls the state of the iptables package on your system. Valid options: 'present' or 'latest'.
7179

7280
Default value: `present`
7381

74-
##### `service_name`
82+
##### <a name="service_name"></a>`service_name`
7583

7684
Data type: `Any`
7785

7886
Specify the name of the IPv4 iptables service.
7987

8088
Default value: `$firewall::params::service_name`
8189

82-
##### `service_name_v6`
90+
##### <a name="service_name_v6"></a>`service_name_v6`
8391

8492
Data type: `Any`
8593

8694
Specify the name of the IPv6 iptables service.
8795

8896
Default value: `$firewall::params::service_name_v6`
8997

90-
##### `package_name`
98+
##### <a name="package_name"></a>`package_name`
9199

92100
Data type: `Any`
93101

94102
Specify the platform-specific package(s) to install.
95103

96104
Default value: `$firewall::params::package_name`
97105

98-
##### `ebtables_manage`
106+
##### <a name="ebtables_manage"></a>`ebtables_manage`
99107

100108
Data type: `Any`
101109

@@ -105,7 +113,7 @@ Default value: ``false``
105113

106114
## Resource types
107115

108-
### `firewall`
116+
### <a name="firewall"></a>`firewall`
109117

110118
**Autorequires:**
111119

@@ -1367,11 +1375,15 @@ Assign this packet to zone id and only have lookups done in that zone.
13671375

13681376
The following parameters are available in the `firewall` type.
13691377

1370-
##### `line`
1378+
* [`line`](#line)
1379+
* [`name`](#name)
1380+
* [`provider`](#provider)
1381+
1382+
##### <a name="line"></a>`line`
13711383

13721384
Read-only property for caching the rule line.
13731385

1374-
##### `name`
1386+
##### <a name="name"></a>`name`
13751387

13761388
Valid values: `%r{^\d+[[:graph:][:space:]]+$}`
13771389

@@ -1386,12 +1398,12 @@ so make sure you prefix the rule with a number:
13861398
Depending on the provider, the name of the rule can be stored using
13871399
the comment feature of the underlying firewall subsystem.
13881400

1389-
##### `provider`
1401+
##### <a name="provider"></a>`provider`
13901402

13911403
The specific backend to use for this `firewall` resource. You will seldom need to specify this --- Puppet will usually
13921404
discover the appropriate provider for your platform.
13931405

1394-
### `firewallchain`
1406+
### <a name="firewallchain"></a>`firewallchain`
13951407

13961408
Currently this supports only iptables, ip6tables and ebtables on Linux. And
13971409
provides support for setting the default policy on chains and tables that
@@ -1439,7 +1451,13 @@ PREROUTING, POSTROUTING) and can be one of:
14391451

14401452
The following parameters are available in the `firewallchain` type.
14411453

1442-
##### `ignore`
1454+
* [`ignore`](#ignore)
1455+
* [`ignore_foreign`](#ignore_foreign)
1456+
* [`name`](#name)
1457+
* [`provider`](#provider)
1458+
* [`purge`](#purge)
1459+
1460+
##### <a name="ignore"></a>`ignore`
14431461

14441462
Regex to perform on firewall rules to exempt unmanaged rules from purging (when enabled).
14451463
This is matched against the output of `iptables-save`.
@@ -1462,7 +1480,7 @@ firewallchain { 'INPUT:filter:IPv4':
14621480
}
14631481
```
14641482

1465-
##### `ignore_foreign`
1483+
##### <a name="ignore_foreign"></a>`ignore_foreign`
14661484

14671485
Valid values: ``false``, ``true``
14681486

@@ -1474,20 +1492,20 @@ rules.
14741492

14751493
Default value: ``false``
14761494

1477-
##### `name`
1495+
##### <a name="name"></a>`name`
14781496

14791497
namevar
14801498

14811499
The canonical name of the chain.
14821500

14831501
For iptables the format must be {chain}:{table}:{protocol}.
14841502

1485-
##### `provider`
1503+
##### <a name="provider"></a>`provider`
14861504

14871505
The specific backend to use for this `firewallchain` resource. You will seldom need to specify this --- Puppet will
14881506
usually discover the appropriate provider for your platform.
14891507

1490-
##### `purge`
1508+
##### <a name="purge"></a>`purge`
14911509

14921510
Valid values: ``false``, ``true``
14931511

metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "puppetlabs-firewall",
3-
"version": "2.8.0",
3+
"version": "2.8.1",
44
"author": "puppetlabs",
55
"summary": "Manages Firewalls such as iptables",
66
"license": "Apache-2.0",

0 commit comments

Comments
 (0)