]>
review.fuel-infra Code Review - puppet-modules/puppetlabs-firewall.git/log
Trey Dockendorf [Mon, 21 Jul 2014 18:55:24 +0000 (13:55 -0500)]
Improve support for EL7 and other related fixes
* Support RHEL7 by removing firewalld before installing iptables-services
* Autorequire Package[iptables-services] for Firewall and Firewallchain types
* Ensure /etc/sysconfig/iptables exists before starting Service[iptables]
Hunter Haugen [Wed, 23 Jul 2014 00:06:48 +0000 (17:06 -0700)]
Merge branch '1.2.x'
Hunter Haugen [Tue, 22 Jul 2014 16:38:10 +0000 (09:38 -0700)]
Merge pull request #390 from dnaeon/master
Typo fix
Marin Atanasov Nikolov [Thu, 17 Jul 2014 14:41:35 +0000 (17:41 +0300)]
Typo fix
Travis Fields [Mon, 14 Jul 2014 22:50:24 +0000 (15:50 -0700)]
Merge pull request #389 from hunner/fix_metadata
Update metadata to match checksum
Hunter Haugen [Mon, 14 Jul 2014 22:49:07 +0000 (15:49 -0700)]
Update metadata to match checksum
Hunter Haugen [Wed, 9 Jul 2014 20:46:32 +0000 (13:46 -0700)]
Merge branch '1.2.x' into master
Conflicts:
CHANGELOG.md
Gemfile
Modulefile
metadata.json
Ashley Penney [Tue, 8 Jul 2014 21:54:52 +0000 (17:54 -0400)]
Merge pull request #386 from hunner/release_1.1.3
Release 1.1.3
Hunter Haugen [Tue, 8 Jul 2014 21:52:52 +0000 (14:52 -0700)]
Release 1.1.3
Summary
This is a supported release with test coverage enhancements.
Bugfixes
- Confine to supported kernels
Ashley Penney [Thu, 3 Jul 2014 21:43:13 +0000 (17:43 -0400)]
Merge pull request #385 from cmurphy/master
Add validate and lint tasks to travis script
Colleen Murphy [Thu, 3 Jul 2014 16:53:41 +0000 (09:53 -0700)]
Add validate and lint tasks to travis script
Hunter Haugen [Mon, 30 Jun 2014 18:03:41 +0000 (11:03 -0700)]
Merge pull request #384 from cmurphy/master
Synchronize .travis.yml
Colleen Murphy [Mon, 30 Jun 2014 17:57:51 +0000 (10:57 -0700)]
Update Gemfile for .travis.yml defaults
Colleen Murphy [Fri, 27 Jun 2014 17:54:51 +0000 (10:54 -0700)]
Synchronize .travis.yml
Colleen Murphy [Fri, 27 Jun 2014 16:31:49 +0000 (09:31 -0700)]
Update .sync.yml to support new .travis.yml configs
Morgan Haskel [Thu, 26 Jun 2014 18:02:05 +0000 (14:02 -0400)]
Merge pull request #382 from cmurphy/master
Start synchronizing module files
Colleen Murphy [Thu, 26 Jun 2014 00:23:19 +0000 (17:23 -0700)]
Sync files
Colleen Murphy [Thu, 26 Jun 2014 00:00:02 +0000 (17:00 -0700)]
Add configuration file for modulesync
https://github.com/puppetlabs/modulesync
Morgan Haskel [Fri, 13 Jun 2014 23:45:52 +0000 (19:45 -0400)]
Merge pull request #379 from hunner/failure
Add testing for unsupported platforms
Hunter Haugen [Fri, 13 Jun 2014 23:29:37 +0000 (16:29 -0700)]
Add testing for unsupported platforms
Hunter Haugen [Wed, 11 Jun 2014 18:04:58 +0000 (11:04 -0700)]
Merge branch 'MFredette'
MFredette [Thu, 5 Jun 2014 21:09:58 +0000 (14:09 -0700)]
Update README.markdown
Michelle Fredette [Thu, 5 Jun 2014 21:04:05 +0000 (14:04 -0700)]
Copy edited version.
Michelle Fredette [Thu, 5 Jun 2014 01:04:45 +0000 (18:04 -0700)]
Format fixes to firewall readme.
Michelle Fredette [Thu, 5 Jun 2014 00:25:32 +0000 (17:25 -0700)]
Updates to Firewall Readme for review.
Hunter Haugen [Tue, 10 Jun 2014 16:10:49 +0000 (09:10 -0700)]
Merge pull request #377 from mhaskel/beaker-rspec-pinning
Beaker rspec pinning
Morgan Haskel [Tue, 10 Jun 2014 15:32:00 +0000 (11:32 -0400)]
Require beaker-rspec >= 2.2
Travis Fields [Mon, 9 Jun 2014 15:54:11 +0000 (08:54 -0700)]
Merge pull request #376 from apenney/pin-rspec
Pin rspec
Ashley Penney [Mon, 9 Jun 2014 15:31:16 +0000 (11:31 -0400)]
Pin rspec to 2.x.
Hunter Haugen [Wed, 4 Jun 2014 18:02:17 +0000 (11:02 -0700)]
Merge pull request #369 from apenney/120-prepare-release
120 prepare release
Ashley Penney [Wed, 4 Jun 2014 17:52:25 +0000 (13:52 -0400)]
Update versions.
Ashley Penney [Wed, 4 Jun 2014 17:45:19 +0000 (13:45 -0400)]
Update to support PE3.2 and PE3.3.
Ashley Penney [Wed, 4 Jun 2014 17:43:15 +0000 (13:43 -0400)]
Update the CHANGELOG.
Hunter Haugen [Tue, 3 Jun 2014 19:06:02 +0000 (12:06 -0700)]
Merge pull request #368 from mhaskel/fix-test-issues
Fix test issues
Morgan Haskel [Tue, 3 Jun 2014 19:04:52 +0000 (15:04 -0400)]
Don't check stderr
Morgan Haskel [Mon, 2 Jun 2014 15:35:16 +0000 (11:35 -0400)]
Merge pull request #366 from lwh/fix/master/modules-11
(doc) Fix small typos in the README (MODULES-11)
Luke Hollins [Mon, 2 Jun 2014 15:10:35 +0000 (11:10 -0400)]
(doc) Fix small typos in the README (MODULES-11)
For https://tickets.puppetlabs.com/browse/MODULES-11
Double "the" fixed and undo a typo fix that reverted this commit:
https://github.com/puppetlabs/puppetlabs-firewall/commit/
13457a4ade45f4a46d64ceb4da9d2b9582c39fcd
Hunter Haugen [Thu, 29 May 2014 19:46:33 +0000 (12:46 -0700)]
Merge pull request #364 from mhaskel/unsupported_checks
Unsupported checks
Morgan Haskel [Thu, 29 May 2014 19:42:48 +0000 (15:42 -0400)]
Fixes for UNSUPPORTED_PLATFORMS and tests.
Tests didn't have checks to only run on supported platforms. There
was no test for unsupported platforms. Added UNSUPPORTED_PLATFORMS
to spec_helper_acceptance.
Hunter Haugen [Wed, 28 May 2014 19:05:13 +0000 (12:05 -0700)]
Merge pull request #363 from hunner/fix_policy_ipsec_options
(MODULES-796) Fix policy ipsec options
Hunter Haugen [Wed, 28 May 2014 19:03:29 +0000 (12:03 -0700)]
Add tests and fix docs/whitespace
Thomas Sturm [Thu, 1 May 2014 08:20:36 +0000 (10:20 +0200)]
fixes MODULES-796
Cheat by adding quotes around policy ipsec and all following options
belonging to ipsec. Otherwise the line cannot be parsed correctly.
The list of options is taken from [1] and the output ordering was
experimentally verified with iptables-v1.4.21 on Ubuntu 14.04.
[1] http://ipset.netfilter.org/iptables-extensions.man.html
Ashley Penney [Wed, 21 May 2014 23:35:59 +0000 (16:35 -0700)]
Merge pull request #361 from mhaskel/1.2.0-prep
1.2.0 prep
Morgan Haskel [Wed, 21 May 2014 23:33:49 +0000 (19:33 -0400)]
Update PE version requirement.
Hunter Haugen [Fri, 16 May 2014 18:14:32 +0000 (14:14 -0400)]
Merge pull request #360 from apenney/111-release
Prepare a 1.1.1 release.
Ashley Penney [Fri, 16 May 2014 18:06:55 +0000 (14:06 -0400)]
Prepare a 1.1.1 release.
Ashley Penney [Thu, 15 May 2014 19:57:07 +0000 (15:57 -0400)]
Merge branch 'master' into 1.2.x
Ashley Penney [Thu, 15 May 2014 19:56:12 +0000 (15:56 -0400)]
Merge pull request #359 from hunner/revert_autorequire
Revert "Merge pull request #342 from mcanevet/feature/autorequire"
Hunter Haugen [Thu, 15 May 2014 19:22:48 +0000 (15:22 -0400)]
Revert "Merge pull request #342 from mcanevet/feature/autorequire"
This reverts commit
e5cbfbed5b411484ad04a5413090ad1d475be9fb , reversing
changes made to
eb2e51f338516f3b47087543bb7a1ae1394ac4fb .
Conflicts:
README.markdown
Ashley Penney [Thu, 15 May 2014 18:59:11 +0000 (14:59 -0400)]
Claim PE3.3 support.
Ashley Penney [Thu, 15 May 2014 17:56:20 +0000 (13:56 -0400)]
Merge pull request #343 from skurylo/update_docs
Update CONTRIBUTING and README
Ashley Penney [Thu, 15 May 2014 17:48:54 +0000 (13:48 -0400)]
Merge pull request #358 from sylvainkalache/master
Update README.markdown
Ashley Penney [Wed, 14 May 2014 20:31:13 +0000 (16:31 -0400)]
Add RHEL7 and Ubuntu 14.04.
Ashley Penney [Wed, 14 May 2014 20:30:31 +0000 (16:30 -0400)]
Prepare 1.2.0 release.
Sylvain Kalache [Tue, 13 May 2014 23:16:47 +0000 (16:16 -0700)]
Update README.markdown
Ashley Penney [Tue, 13 May 2014 17:00:43 +0000 (13:00 -0400)]
Merge pull request #357 from apenney/110-release
Prepare 1.1.0 release.
Ashley Penney [Tue, 13 May 2014 16:27:15 +0000 (12:27 -0400)]
Prepare 1.1.0 release.
Hunter Haugen [Wed, 7 May 2014 16:24:05 +0000 (09:24 -0700)]
Merge pull request #342 from mcanevet/feature/autorequire
Apply firewall resources alphabetically
Hunter Haugen [Tue, 6 May 2014 22:55:03 +0000 (15:55 -0700)]
Merge pull request #354 from hunner/fix_helper
Fix access to distmoduledir
Hunter Haugen [Tue, 6 May 2014 22:54:29 +0000 (15:54 -0700)]
Fix access to distmoduledir
Hunter Haugen [Tue, 6 May 2014 18:22:24 +0000 (11:22 -0700)]
Merge pull request #353 from apenney/fix-14.04-tests
Fix 14.04 tests
Ashley Penney [Mon, 5 May 2014 19:31:46 +0000 (21:31 +0200)]
Fix the tests to account for the changes in Ubuntu 14.04.
Ashley Penney [Mon, 5 May 2014 19:31:15 +0000 (21:31 +0200)]
Add `mask` as a parameter.
This is only used for the recent module and seems to be relatively
new as it doesn't seem to exist prior to 14.04.
Hunter Haugen [Tue, 29 Apr 2014 17:01:33 +0000 (10:01 -0700)]
Merge pull request #350 from xbezdick/master
Fix support for Fedora Rawhide
Lukas Bezdicka [Mon, 28 Apr 2014 10:31:56 +0000 (12:31 +0200)]
Fix support for Fedora Rawhide
On Fedora facter $::operatingsystemrelease can be integer version of Fedora or string Rawhide.
Mickaël Canévet [Thu, 24 Apr 2014 08:13:25 +0000 (10:13 +0200)]
Update README
Ashley Penney [Tue, 22 Apr 2014 21:50:09 +0000 (17:50 -0400)]
Merge pull request #344 from csschwe/add_connection_limit
(MODULES-689) Add support for connlimit and connmark
Chuck Schweizer [Thu, 17 Apr 2014 03:49:47 +0000 (22:49 -0500)]
(MODULES-689) connlimit and connmark acceptance tests
Chuck Schweizer [Thu, 17 Apr 2014 00:33:30 +0000 (19:33 -0500)]
(MODULES-689) Add support for connlimit and connmark
Steven Kurylo [Wed, 16 Apr 2014 18:23:10 +0000 (11:23 -0700)]
(doc) Update link to JIRA
Issue tracking has been moved from github to JIRA.
Steven Kurylo [Wed, 16 Apr 2014 18:11:58 +0000 (11:11 -0700)]
(doc) Update links for modules
For modules, the JIRA project is MODULES not PUP.
Link to the module contributing guide, instead of core puppet
Steven Kurylo [Wed, 16 Apr 2014 18:06:36 +0000 (11:06 -0700)]
(doc) Sync latest CONTRIBUTING.md
This is the latest CONTRIBUTING.md from
https://github.com/puppetlabs/puppet/blob/master/CONTRIBUTING.md
The old version has out of date links.
Mickaël Canévet [Mon, 14 Apr 2014 13:58:31 +0000 (15:58 +0200)]
Apply firewall resources alphabetically
Ashley Penney [Tue, 15 Apr 2014 13:52:07 +0000 (09:52 -0400)]
Merge pull request #341 from jeckersb/rhel7-spec-fix
Fix failing persist_iptables test on RHEL7 and Fedora
John Eckersberg [Fri, 4 Apr 2014 15:58:50 +0000 (11:58 -0400)]
spec: Use appropriate operatingsystemrelease for RedHat/CentOS/Fedora
John Eckersberg [Fri, 4 Apr 2014 15:14:27 +0000 (11:14 -0400)]
Fix failing persist_iptables test on RHEL7 and Fedora
Ashley Penney [Thu, 3 Apr 2014 17:29:17 +0000 (13:29 -0400)]
Merge pull request #338 from larsks/master
Treat RHEL 7 and later like Fedora w/r/t iptables
Ashley Penney [Thu, 3 Apr 2014 17:27:08 +0000 (13:27 -0400)]
Merge pull request #339 from cure/master
Fix typo in SNAT error message
Ashley Penney [Thu, 3 Apr 2014 17:26:48 +0000 (13:26 -0400)]
Merge pull request #340 from simon-martin/master
--reap flag is not added to iptables command
Simon Martin [Thu, 3 Apr 2014 09:33:09 +0000 (10:33 +0100)]
In lib/puppet/provider/firewall/iptables.rb we test on boolean flags when building iptables args:
# If socket is true then do not add the value as -m socket is standalone
if known_booleans.include?(res) then
if resource[res] == :true then
resource_value = nil
else
# If the property is not :true then we don't want to add the value
# to the args list
next
end
end
This evaluates to false on the reap flag in a definition like this:
firewall { '001 rate limit ssh attempts':
port => [22],
proto => tcp,
tcp_flags => "FIN,SYN,RST,ACK SYN",
recent => 'rcheck',
rsource => true,
rname => 'ssh-syn4',
rseconds => 30,
rhitcount => 3,
reap => true,
jump => drop,
}
This is because the value is not defined as a string, so the reap flag is not added to the args. This patch defines reap as a string true or false to match others like rsource.
Ward Vandewege [Mon, 31 Mar 2014 02:17:11 +0000 (22:17 -0400)]
Update firewall.rb
SNAT: typo in error message when tosource parameter is missing.
Lars Kellogg-Stedman [Wed, 26 Mar 2014 13:15:11 +0000 (09:15 -0400)]
fix errors noted by travis-ci
I like explicitly quoted strings, but apparently Travis doesn't.
Lars Kellogg-Stedman [Tue, 25 Mar 2014 21:58:16 +0000 (17:58 -0400)]
correct spelling of "&&" to "and"
Lars Kellogg-Stedman [Tue, 25 Mar 2014 19:50:10 +0000 (15:50 -0400)]
Treat RHEL 7 and later like Fedora w/r/t iptables
RHEL 7 replaces legacy init with systemd, and must be treated like
Fedora w/r/t iptables persistence. This patches checks
operatingsystemrelease in addition to operatingsystem in order
to differentiate between RHEL 7 and earlier releases.
Both RHEL 7 and recent Fedora releases require the iptables-services
package to support the commands in lib/puppet/util/firewall.rb.
This also corrects the path to /usr/libexec/iptables/iptables.init.
Hunter Haugen [Tue, 4 Mar 2014 21:57:39 +0000 (13:57 -0800)]
Merge branch '1.0.x'
Hunter Haugen [Tue, 4 Mar 2014 16:38:35 +0000 (08:38 -0800)]
Merge remote-tracking branch 'apenney/102-release' into 1.0.x
Ashley Penney [Tue, 4 Mar 2014 16:36:25 +0000 (16:36 +0000)]
Include a metadata bump to 1.0.2 here.
Hunter Haugen [Tue, 4 Mar 2014 16:35:01 +0000 (08:35 -0800)]
Merge pull request #332 from apenney/102-release
Prepare a 1.0.2 supported release.
Ashley Penney [Tue, 4 Mar 2014 16:32:12 +0000 (16:32 +0000)]
Prepare a 1.0.2 supported release.
Hunter Haugen [Tue, 4 Mar 2014 16:27:40 +0000 (08:27 -0800)]
Merge pull request #331 from apenney/symlink-fix
Replace the symlink with the actual file to resolve a PMT issue.
Ashley Penney [Tue, 4 Mar 2014 16:23:25 +0000 (16:23 +0000)]
Replace the symlink with the actual file to resolve a PMT issue.
Hunter Haugen [Mon, 3 Mar 2014 21:59:30 +0000 (13:59 -0800)]
Merge pull request #330 from apenney/last-minute-metadata-fix
Add missing files back to work around a Puppet bug.
Ashley Penney [Mon, 3 Mar 2014 21:48:54 +0000 (21:48 +0000)]
Add missing files back to work around a Puppet bug.
Hunter Haugen [Mon, 3 Mar 2014 20:02:02 +0000 (12:02 -0800)]
Merge pull request #329 from apenney/supported-101
Prepare supported module 1.0.1 release.
Ashley Penney [Mon, 3 Mar 2014 19:34:22 +0000 (19:34 +0000)]
Prepare supported module 1.0.1 release.
Hunter Haugen [Mon, 3 Mar 2014 18:38:54 +0000 (10:38 -0800)]
Merge pull request #328 from apenney/supported-metadata
Prepare for supported modules.
Hunter Haugen [Mon, 3 Mar 2014 18:16:33 +0000 (10:16 -0800)]
Merge pull request #326 from hunner/oel_limit
Change OEL limitation description
Ashley Penney [Mon, 3 Mar 2014 17:03:33 +0000 (12:03 -0500)]
Prepare for supported modules.
Ashley Penney [Mon, 3 Mar 2014 16:58:26 +0000 (11:58 -0500)]
Merge pull request #327 from laurenrother/1.0.x
Add "Release Notes/Known Bugs" to Changelog
Lauren Rother [Sat, 1 Mar 2014 01:41:47 +0000 (17:41 -0800)]
Adds "Release Notes/Known Bugs" to Changelog, updates file format to markdown, standardizes the format of previous entries
Per a request to have initial release notes that specifically listed known issues for this PE 3.2 release, and barred by time constraints from automating a pull from open issues in JIRA, this commit adds a Release Note and Known Bug section to the Changelog for the imminent 3.2 release. As it will display on the Forge, updates file type to markdown and standardizes previous entries. Adds template for release notes to be filled in later.