• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

gongo / itamae-plugin-resource-firewalld / 20
98%

Build:
DEFAULT BRANCH: master
Ran 23 Jul 2015 02:46PM UTC
Jobs 1
Files 3
Run time 3530min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
20

Pull #3

travis-ci

hanazuki
Allow multiple ports per service definition

According to firewalld.service(5), a service definition can have more than
one `<port>`s in its XML configuration file.

In order to handle such a service configuration with the `firewalld_service`
resource, this patch replaces its `protocol` and `port` attributes by `ports`
attribute, which takes an array of pairs of a protocol and a port number.

For example, this patch allows the following service definition:

```
firewalld_service 'dns' do
  ports [[:tcp, 53], [:udp, 53]]
end
```
Pull Request #3: Allow multiple ports per service definition

20 of 20 new or added lines in 1 file covered. (100.0%)

211 of 218 relevant lines covered (96.79%)

2.65 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
100.0
lib/itamae/plugin/resource/firewalld_service.rb

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
lib/itamae/plugin/resource/firewalld_service.rb
Jobs
ID Job ID Ran Files Coverage
1 20.1 (2.1.4) 23 Jul 2015 02:46PM UTC 0
96.79
Travis Job 20.1
Source Files on build 20
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #20
  • Pull Request #3
  • PR Base - master (#18)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc