-
-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Native firewalld custom service #277
Native firewalld custom service #277
Conversation
b2a7363
to
5d7924e
Compare
Coverage went down even though it has more tests than it's ever had before. Not correcting at this time. |
That's not why the tests are failing though. |
Oh, I see. Got buried in the garbage. |
@alexjfisher OK, one more try :-| |
I’d like to try this out one more time before merging. Probably tomorrow. |
I've confirmed this is a breaking change for me. The following two resources worked before, but don't any more. firewalld::custom_service { 'foreman-smart-proxy':
filename => 'foreman-smart-proxy',
short => 'Foreman Smart Proxy',
description => 'Smart Proxy is a free open source project that provides restful API to subsystems such as DNS, DHCP, etc, for higher level orchestration tools such as Foreman.',
port => [
{
'port' => '8443',
'protocol' => 'tcp',
},
],
}
firewalld_service { 'Allow Foreman Smart Proxy from public zone':
ensure => 'present',
service => 'foreman-smart-proxy',
zone => 'public',
}
|
@alexjfisher Can you check this again when you have time please? |
@alexjfisher Did a full refactor and beefed up the acceptance tests significantly to cover (what I hope) is all of the use cases. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LTGM. I can't break anything anymore. This should be squashed down to 1 (or just a few commits) before merging please.
* Create firewalld_custom_service type and provider * Add spec tests * Update Beaker tests * Mark firewalld::custom_service for deprecation * Resolve dependency loops Fixes voxpupuli#275
c8b5e67
to
a1993ba
Compare
Fixes #275