Skip to content

Commit

Permalink
Support puppet-firewalld 5.0.0 (#44)
Browse files Browse the repository at this point in the history
* Support puppet-firewalld 5.0.0

- Use `firewalld_custom_service` instead of `firewalld::custom_service`
  for compatibility with `puppet-firewalld` >= 5.0.0
- Support stdlib 9
- Support Puppet 8
- Drop support for Puppet 6
  • Loading branch information
silug authored Oct 2, 2023
1 parent 71baa8b commit d245f19
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
* Mon Oct 02 2023 Steven Pritchard <[email protected]> - 0.6.0
- Use `firewalld_custom_service` instead of `firewalld::custom_service` for
compatibility with `puppet-firewalld` >= 5.0.0
- Support stdlib 9
- Support Puppet 8
- Drop support for Puppet 6

* Wed Aug 23 2023 Steven Pritchard <[email protected]> - 0.5.0
- Add AlmaLinux 8 support

Expand Down
4 changes: 2 additions & 2 deletions manifests/rule.pp
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@
}
}

firewalld::custom_service { "${_prefix}${_safe_name}":
firewalld_custom_service { "${_prefix}${_safe_name}":
short => "${_prefix}${name}",
description => "SIMP ${name}",
port => $_dports,
ports => $_dports,
require => Service['firewalld'],
}
}
Expand Down
8 changes: 4 additions & 4 deletions metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simp-simp_firewalld",
"version": "0.5.0",
"version": "0.6.0",
"author": "SIMP Team",
"summary": "SIMP-oriented firewalld management",
"license": "Apache-2.0",
Expand All @@ -15,11 +15,11 @@
"dependencies": [
{
"name": "puppet/firewalld",
"version_requirement": ">= 4.2.3 < 5.0.0"
"version_requirement": ">= 4.2.3 < 6.0.0"
},
{
"name": "puppetlabs/stdlib",
"version_requirement": ">= 8.0.0 < 9.0.0"
"version_requirement": ">= 8.0.0 < 10.0.0"
},
{
"name": "simp/simplib",
Expand Down Expand Up @@ -70,7 +70,7 @@
"requirements": [
{
"name": "puppet",
"version_requirement": ">= 6.22.1 < 8.0.0"
"version_requirement": ">= 7.0.0 < 9.0.0"
}
]
}

0 comments on commit d245f19

Please sign in to comment.