Showing with 19 additions and 9 deletions.
  1. +8 −0 CHANGELOG.md
  2. +10 −8 manifests/custom_service.pp
  3. +1 −1 metadata.json
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
Each new release typically also includes the latest modulesync defaults.
These should not affect the functionality of the module.

## [v4.2.4](https://github.com/voxpupuli/puppet-firewalld/tree/v4.2.4) (2020-03-13)

[Full Changelog](https://github.com/voxpupuli/puppet-firewalld/compare/v4.2.3...v4.2.4)

**Fixed bugs:**

- Update EPP syntax for earlier versions of Puppet 5 [\#272](https://github.com/voxpupuli/puppet-firewalld/pull/272) ([trevor-vaughan](https://github.com/trevor-vaughan))

## [v4.2.3](https://github.com/voxpupuli/puppet-firewalld/tree/v4.2.3) (2020-03-09)

[Full Changelog](https://github.com/voxpupuli/puppet-firewalld/compare/v4.2.2...v4.2.3)
Expand Down
18 changes: 10 additions & 8 deletions manifests/custom_service.pp
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,16 @@

$_content = epp(
"${module_name}/service.xml.epp",
'short' => $short,
'description' => $description,
'port' => $port,
'module' => $module,
'destination' => $destination,
'filename' => $filename,
'config_dir' => $config_dir,
'ensure' => $ensure
{
'short' => $short,
'description' => $description,
'port' => $port,
'module' => $module,
'destination' => $destination,
'filename' => $filename,
'config_dir' => $config_dir,
'ensure' => $ensure
}
)

file{ "${config_dir}/${_safe_filename}.xml":
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "puppet-firewalld",
"version": "4.2.3",
"version": "4.2.4",
"author": "Vox Pupuli",
"summary": "Configure firewalld zones, services, and rich rules and direct config",
"license": "Apache-2.0",
Expand Down