]>
review.fuel-infra Code Review - puppet-modules/puppetlabs-firewall.git/log
TP Honey [Tue, 31 Mar 2015 14:51:48 +0000 (15:51 +0100)]
Merge pull request #509 from mhaskel/MODULES-1866
(MODULES-1866) Update documentation for purging firewall chains
Morgan Haskel [Tue, 31 Mar 2015 14:43:06 +0000 (10:43 -0400)]
(MODULES-1866) Update documentation for purging firewall chains
TP Honey [Mon, 30 Mar 2015 16:11:50 +0000 (17:11 +0100)]
Merge pull request #507 from jonnytpuppet/test_fix
Fix acceptance tests
Jonathan Tripathy [Mon, 30 Mar 2015 16:04:14 +0000 (17:04 +0100)]
Fix acceptance tests
JT (Jonny) [Thu, 26 Mar 2015 14:49:50 +0000 (14:49 +0000)]
Merge pull request #460 from Zlo/MODULES-1636
MODULES-1636: Add --checksum-fill support.
JT (Jonny) [Thu, 26 Mar 2015 14:40:32 +0000 (14:40 +0000)]
Merge pull request #503 from anodelman/master
(BKR-147) add Gemfile setting for BEAKER_VERSION for puppet...
JT (Jonny) [Thu, 26 Mar 2015 14:35:56 +0000 (14:35 +0000)]
Merge pull request #500 from petems/MAINT-add_redhat_7_acceptance_test
(MAINT) Adds an acceptance test for RHEL 7
Morgan Haskel [Tue, 24 Mar 2015 19:45:09 +0000 (15:45 -0400)]
Merge pull request #502 from cmurphy/rspec-puppet-2
Testing updates
Alice Nodelman [Tue, 24 Mar 2015 18:49:20 +0000 (11:49 -0700)]
(BKR-147) add Gemfile setting for BEAKER_VERSION for puppet...
puppetdb, etc
- support for BEAKER_VERSION and BEAKER_RSPEC_VERSION in gemfile
Colleen Murphy [Mon, 23 Mar 2015 19:22:03 +0000 (12:22 -0700)]
Update .travis.yml
This commit makes the following changes to the test matrix:
- Runs tests on ruby 2.1.5 instead of 2.0.0
- Runs tests on ruby 1.8.7 with puppet 3.x
- Adds an environment to run on an intermediate 3.x puppet version
instead of latest (specifically 3.4.x)
- Adds an environment to run with the future parser on latest puppet.
This would affect the test runs for the validate and spec checks.
- Runs the tests on docker
Colleen Murphy [Mon, 23 Mar 2015 19:05:42 +0000 (12:05 -0700)]
Keep testing on puppet 2.7
The modulesync config repo is dropping universal support for puppet
2.7, but individual repos should still keep support until the next
naturally-occuring major release.
Colleen Murphy [Wed, 18 Mar 2015 21:39:04 +0000 (14:39 -0700)]
Ensure lint fail on warnings
Colleen Murphy [Fri, 13 Mar 2015 04:07:45 +0000 (21:07 -0700)]
Unpin rspec gems and remove unneeded dependencies
puppetlabs_spec_helper handles these dependencies for us.
Peter Souter [Wed, 11 Mar 2015 18:06:43 +0000 (18:06 +0000)]
(MAINT) Adds an acceptance test for RHEL 7
Lets us check the logic around making sure RHEL 7 changing service is working
TP Honey [Wed, 11 Mar 2015 12:13:30 +0000 (12:13 +0000)]
Merge pull request #498 from derdanne/gentoo-compatibility
MODULES-1832 - add Gentoo support
Marc Olzheim [Thu, 5 Mar 2015 14:32:35 +0000 (15:32 +0100)]
MODULES-1636: add iptables --checksum-fill support
TP Honey [Tue, 10 Mar 2015 13:10:24 +0000 (13:10 +0000)]
Merge pull request #499 from jonnytpuppet/fix_test
Fix iptmodules test
Jonathan Tripathy [Tue, 10 Mar 2015 13:00:14 +0000 (13:00 +0000)]
Fixing iptmodules test
Hunter Haugen [Mon, 9 Mar 2015 16:53:48 +0000 (09:53 -0700)]
Merge pull request #496 from jonnytpuppet/munge_resource_map
MODULES-1808 - Implemented code for resource map munging to allow a single ipt module to be used multiple times in a single rule
derdanne [Mon, 9 Mar 2015 13:09:00 +0000 (14:09 +0100)]
add Gentoo support
Jonathan Tripathy [Wed, 4 Mar 2015 12:20:00 +0000 (12:20 +0000)]
MODULES-1808 - Implemented code for resource map munging to allow a single ipt module to be used multiple times in a single rule on older versions of iptables
JT (Jonny) [Tue, 3 Mar 2015 15:53:15 +0000 (15:53 +0000)]
Merge pull request #495 from eLobato/patch-1
Typo in metadata ('iptable')
Daniel Lobato García [Tue, 3 Mar 2015 11:24:20 +0000 (13:24 +0200)]
Typo in metadata ('iptable')
TP Honey [Fri, 27 Feb 2015 16:00:04 +0000 (16:00 +0000)]
Merge pull request #494 from jonnytpuppet/ipv6-example-readme
README: Added an example of an IPv6-based rule.
Jonathan Davies [Sun, 8 Feb 2015 21:19:43 +0000 (21:19 +0000)]
README: Added an example of an IPv6-based rule.
Morgan Haskel [Sat, 14 Feb 2015 00:01:06 +0000 (16:01 -0800)]
Merge pull request #491 from jonnytpuppet/physdev_is_bridged
Added code for physdev_is_bridged
Jonathan Tripathy [Fri, 13 Feb 2015 18:41:29 +0000 (18:41 +0000)]
Added code for physdev_is_bridged
Hunter Haugen [Wed, 4 Feb 2015 20:03:45 +0000 (12:03 -0800)]
Merge pull request #487 from cmurphy/rspec
Pin rspec gems
Colleen Murphy [Wed, 4 Feb 2015 16:02:03 +0000 (17:02 +0100)]
Pin rspec gems
Colleen Murphy [Tue, 27 Jan 2015 19:43:37 +0000 (11:43 -0800)]
Merge pull request #485 from mhaskel/merge_1.4.x_to_master
Merge 1.4.x to master
Lauren [Mon, 26 Jan 2015 21:44:20 +0000 (13:44 -0800)]
Merge pull request #484 from mhaskel/readme_fix
README updates
Morgan Haskel [Mon, 26 Jan 2015 21:35:43 +0000 (13:35 -0800)]
README updates
Feature lists for `firewall` providers were out of date, and
`physdev_in` and `physdev_out` were listed as features instead of
parameters.
Travis Fields [Mon, 26 Jan 2015 19:24:21 +0000 (11:24 -0800)]
Merge pull request #483 from mhaskel/1.4.0-prep
1.4.0 prep
Morgan Haskel [Mon, 26 Jan 2015 19:22:05 +0000 (11:22 -0800)]
1.4.0 prep
Colleen Murphy [Mon, 26 Jan 2015 18:22:05 +0000 (10:22 -0800)]
Merge pull request #482 from mhaskel/test_typo
MODULES-1453 - typo in test
Morgan Haskel [Mon, 26 Jan 2015 18:14:12 +0000 (10:14 -0800)]
MODULES-1453 - typo in test
Colleen Murphy [Mon, 26 Jan 2015 17:58:14 +0000 (09:58 -0800)]
Merge pull request #481 from mhaskel/typo_fix
This looks like a typo.
Colleen Murphy [Mon, 26 Jan 2015 17:55:30 +0000 (09:55 -0800)]
Merge pull request #477 from mhaskel/MODULES-633
Modules 633
Travis Fields [Fri, 23 Jan 2015 21:23:02 +0000 (13:23 -0800)]
Add unit test for ip6tables provider against version 1.3.10
Morgan Haskel [Fri, 23 Jan 2015 18:15:01 +0000 (10:15 -0800)]
MODULES-633 - Fix for ip6tables
If the packages for ip6tables aren't installed, the provider will throw
an exception. Fix the provider to check to make sure the variable exists
first, and update params.pp to include the required package for EL6.
Morgan Haskel [Fri, 23 Jan 2015 00:21:28 +0000 (16:21 -0800)]
This looks like a typo.
Colleen Murphy [Mon, 26 Jan 2015 17:36:39 +0000 (09:36 -0800)]
Merge pull request #479 from mhaskel/MODULES-1453
MODULES-1453 - overly aggressive gsub
Travis Fields [Sat, 24 Jan 2015 21:19:35 +0000 (13:19 -0800)]
Merge pull request #480 from jonnytpuppet/fix_unit_tests
Fixed unit tests to stub out ip6tables version.
Jonathan Tripathy [Sat, 24 Jan 2015 01:49:55 +0000 (17:49 -0800)]
Fixed unit tests to stub out ip6tables version.
Morgan Haskel [Fri, 23 Jan 2015 23:36:54 +0000 (15:36 -0800)]
MODULES-1453 - overly aggressive gsub
Make sure there's a space after '-A' before gsubbing with '-D'. Was
causing issues with `ensure => absent` and `log_prefix =>
'FW-A-<whatever>'`
Morgan Haskel [Fri, 23 Jan 2015 23:04:25 +0000 (15:04 -0800)]
Merge pull request #478 from cyberious/FirewallChain
Fix issue with firewallchain unit tests
Travis Fields [Fri, 23 Jan 2015 22:52:01 +0000 (14:52 -0800)]
Fix issue with local testing firewallchain
Morgan Haskel [Fri, 23 Jan 2015 21:09:13 +0000 (13:09 -0800)]
Merge pull request #476 from jonnytpuppet/fix_recent_os
Fix recent os
Jonathan Tripathy [Thu, 22 Jan 2015 23:39:40 +0000 (15:39 -0800)]
MODULES-1029
Fixed issues with Ubuntu 14.10
pcheliniy [Thu, 25 Dec 2014 07:32:50 +0000 (10:32 +0300)]
fixed package name on Ubuntu 14.10
Morgan Haskel [Thu, 22 Jan 2015 21:58:28 +0000 (13:58 -0800)]
Merge pull request #471 from mlehner616/master
Fixing regressions for Amazon Linux since RH7 support was added
Hunter Haugen [Thu, 22 Jan 2015 19:50:11 +0000 (11:50 -0800)]
Merge pull request #475 from jonnytpuppet/uid_negation_fix
MODULES-753 further fixes
Mike Lehner [Fri, 16 Jan 2015 21:21:59 +0000 (13:21 -0800)]
Removing Amazon from the list OSs that are grouped with Red Hat 7.
Red Hat 7 has diverged from the Amazon system architecture and Amazon
uses a different versioning scheme. It's possible Amazon may re-align
with Red Hat 7 in later releases. Additional logic may be required
when that happens.
Description: Adding an exception for Amazon as the conditions for
RH7 were incorrectly catching Amazon because the version YYYY.MM
will always evaluate to true
Jonathan Tripathy [Wed, 21 Jan 2015 23:48:22 +0000 (15:48 -0800)]
MODULES-753
Fixes user adding and removing using either UID or string username.
Tested with both negated and non-negated values and works on all
supported operating systems.
Remote whitespace
Travis Fields [Wed, 21 Jan 2015 19:06:01 +0000 (11:06 -0800)]
Merge pull request #474 from jonnytpuppet/uid_negation_fix
Uid negation fix
Jonathan Tripathy [Wed, 21 Jan 2015 08:48:12 +0000 (00:48 -0800)]
Fix for MODULES-1688
Re-applying a manifest with an unchanged UID will now not re-apply
the rule unnecessarily.
Dan Bode [Thu, 8 Jan 2015 17:06:10 +0000 (18:06 +0100)]
Lookup username from uuid
When using the uid feature of the firewall module,
it did not work with string based usernames as
documented.
The uid propery always synchronized with a message of
<number> does not match <username>.
This code overrides the uid getter method to perform
a check of both the data from the property hash as well
as using that data (assuming it is a uid) to resolve the
username.
While this patch is pretty simple, I have only tested it
on Ubuntu 14.04. I am not sure if it could be problematic
with other versions.
I have not yet written tests b/c I wanted to submit
my proposed fix for discussion while I get those
written.
Hunter Haugen [Tue, 20 Jan 2015 21:53:04 +0000 (13:53 -0800)]
Merge pull request #473 from jonnytpuppet/physdev
Added support for iptables physdev_in and physdev_out parameters
Jonathan Tripathy [Sun, 18 Jan 2015 22:11:58 +0000 (14:11 -0800)]
Added support for seperate physdev-in and physdev-out parameters.
Aron Parsons [Mon, 29 Sep 2014 00:17:07 +0000 (20:17 -0400)]
fix bridge value validation
Aron Parsons [Fri, 26 Sep 2014 20:58:05 +0000 (16:58 -0400)]
add physdev support
rebased from https://github.com/puppetlabs/puppetlabs-firewall/pull/82
Travis Fields [Fri, 16 Jan 2015 21:38:11 +0000 (13:38 -0800)]
Merge pull request #472 from mhaskel/QENG-1678
QENG-1678 - Need to stop iptables to install ipset
Morgan Haskel [Fri, 16 Jan 2015 21:35:26 +0000 (13:35 -0800)]
QENG-1678 - Need to stop iptables to install ipset
Firewalls are fun :)
Colleen Murphy [Wed, 14 Jan 2015 21:01:00 +0000 (13:01 -0800)]
Merge pull request #470 from mhaskel/MODULES-1612
MODULES-1612 - mask isn't supported on deb7
Morgan Haskel [Wed, 14 Jan 2015 20:58:07 +0000 (12:58 -0800)]
MODULES-1612 - mask isn't supported on deb7
Colleen Murphy [Wed, 14 Jan 2015 19:20:40 +0000 (11:20 -0800)]
Merge pull request #469 from mhaskel/MODULES-1612
MODULES-1612 - sync mask
Morgan Haskel [Wed, 14 Jan 2015 19:12:02 +0000 (11:12 -0800)]
MODULES-1612 - add tests and README updates for syncing mask
Jonathan Wright [Sun, 11 Jan 2015 17:40:42 +0000 (17:40 +0000)]
Add missing Mask on ip6tables
The :mask option was missing in the ip6tables provider which prevented
it from correctly working with the recent module with the following
error:
Could not evaluate: Parser error: rttl was meant to be a boolean but received value: "--mask."
Hunter Haugen [Wed, 14 Jan 2015 17:16:43 +0000 (09:16 -0800)]
Merge pull request #468 from mhaskel/MODULES-1612
MODULES-1612 - sync ipset
Morgan Haskel [Wed, 14 Jan 2015 16:22:24 +0000 (11:22 -0500)]
MODULES-1612 - sync ipset
Colleen Murphy [Wed, 7 Jan 2015 20:33:13 +0000 (12:33 -0800)]
Merge pull request #464 from mhaskel/MODULES-1612
MODULES-1612 - sync set_mark
Morgan Haskel [Wed, 7 Jan 2015 20:26:55 +0000 (15:26 -0500)]
MODULES-1612 - sync set_mark
README and provider already claimed ip6tables provider supported `mark`
feature, but the code wasn't there.
Fixes puppetlabs/puppetlabs-firewall#387
Hunter Haugen [Wed, 7 Jan 2015 18:54:46 +0000 (10:54 -0800)]
Merge pull request #462 from mhaskel/MODULES-1552
MODULES-1552 - Issues parsing `-m (tcp|udp)` rules
Morgan Haskel [Wed, 7 Jan 2015 17:29:56 +0000 (12:29 -0500)]
MODULES-1552 - Issues parsing `-m (tcp|udp)` rules
The parser was arbitrarily requiring `--(d|s)port` or `-m multiport` with
`-m tcp` or `-m udp`. Remove `-m (tcp|udp)` when converting to hash
unless it's `-m tcp --tcp-flags`.
Travis Fields [Sat, 3 Jan 2015 00:12:17 +0000 (16:12 -0800)]
Merge pull request #459 from mhaskel/MODULES-1612
MODULES-1612 - Sync ipsec_dir and ipsec_policy
Morgan Haskel [Fri, 2 Jan 2015 21:12:50 +0000 (16:12 -0500)]
MODULES-1612 - Sync ipsec_dir and ipsec_policy
Morgan Haskel [Wed, 31 Dec 2014 18:27:51 +0000 (10:27 -0800)]
Merge pull request #458 from cmurphy/lucid
Lucid template platform names have '.' in them
Colleen Murphy [Wed, 31 Dec 2014 18:26:21 +0000 (10:26 -0800)]
Lucid template platform names have '.' in them
Colleen Murphy [Wed, 31 Dec 2014 00:33:16 +0000 (16:33 -0800)]
Merge pull request #457 from mhaskel/MODULES-1612
MODULES-1612 - sync socket
Morgan Haskel [Wed, 31 Dec 2014 00:19:10 +0000 (16:19 -0800)]
MODULES-1612 - sync socket
Colleen Murphy [Tue, 30 Dec 2014 23:29:45 +0000 (15:29 -0800)]
Merge pull request #454 from mhaskel/MODULES-1612
MODULES-1612 - sync mac_source
Morgan Haskel [Tue, 30 Dec 2014 01:28:27 +0000 (17:28 -0800)]
MODULES-1612 - sync mac_source
Add mac_source to the ip6tables provider
Morgan Haskel [Tue, 30 Dec 2014 22:35:20 +0000 (14:35 -0800)]
Merge pull request #456 from cmurphy/fix_tests
Only run ip6tables dst/src_type tests on platforms that support it
Colleen Murphy [Tue, 30 Dec 2014 22:32:00 +0000 (14:32 -0800)]
Only run ip6tables dst/src_type tests on platforms that support it
Morgan Haskel [Tue, 30 Dec 2014 20:57:55 +0000 (12:57 -0800)]
Merge pull request #455 from cmurphy/fix_tests
Fix puppet resource acceptance tests
Colleen Murphy [Tue, 30 Dec 2014 20:46:55 +0000 (12:46 -0800)]
Fix puppet resource acceptance tests
The dport/sport test needs iptables-persistent pre-installed in order
for the iptables_persistent_version fact to work.
This commit also changes the test to create the rule with a comment and
with the default protocol so that the puppet resource command is
checking the existence of a resource and not creating a new one or
altering an existing one.
After those changes, checking stderr still fails because of puppet's
deprecation warnings. This commit fixes puppet.conf to avoid the
warnings so that we can actually check stderr. With that accomplished I
added checks for stderr to the other puppet resource tests since they
should now be reliable.
Travis Fields [Tue, 30 Dec 2014 00:39:53 +0000 (16:39 -0800)]
Merge pull request #453 from mhaskel/MODULES-1612
MODULES-1612 - sync src_type and dst_type
Morgan Haskel [Tue, 30 Dec 2014 00:15:25 +0000 (16:15 -0800)]
MODULES-1612 - sync src_type and dst_type
Add addrtype feature to ip6tables provider, which allows src_type and
dst_type to be used.
Colleen Murphy [Mon, 29 Dec 2014 21:56:05 +0000 (13:56 -0800)]
Merge pull request #452 from mhaskel/MODULES-1612
MODULES-1612 - sync src_range and dst_range
Morgan Haskel [Mon, 29 Dec 2014 21:41:06 +0000 (13:41 -0800)]
MODULES-1612 - sync src_range and dst_range
The the firewall type and the ip6tables provider did not support
src_range and dst_range for ip6tables. Added this functionality.
Hunter Haugen [Mon, 29 Dec 2014 21:01:05 +0000 (13:01 -0800)]
Merge pull request #451 from mhaskel/MODULES-1355
MODUELES-1355 - support dport/sport in ip6tables provider
Morgan Haskel [Mon, 29 Dec 2014 19:41:16 +0000 (11:41 -0800)]
MODULES-1355 - Add acceptance test to verify
Use the example rule from the ticket to make sure this is working
Fixes puppetlabs/puppetlabs-firewall#408
Gustavo Lopes [Fri, 26 Sep 2014 13:41:09 +0000 (15:41 +0200)]
Support --sport/--dport on ip6tables
Morgan Haskel [Mon, 29 Dec 2014 19:23:26 +0000 (11:23 -0800)]
Merge pull request #450 from cmurphy/master
Add IntelliJ files to the ignore list
Colleen Murphy [Mon, 29 Dec 2014 18:41:00 +0000 (10:41 -0800)]
Add IntelliJ files to the ignore list
Morgan Haskel [Tue, 23 Dec 2014 20:53:55 +0000 (12:53 -0800)]
Merge pull request #448 from cmurphy/fix_tests
Fix netmap acceptance tests
Colleen Murphy [Tue, 23 Dec 2014 19:48:19 +0000 (11:48 -0800)]
Fix netmap acceptance tests
This commit:
- Updates the netmap acceptance tests to have the correct identifying
comment
- Resets iptables inbetween the two tests since the rules can't be
changed
- Updates a regex in the iptables provider to check for spaces before
and after a flag so that "--to" isn't confused with "--to-port"
Morgan Haskel [Fri, 19 Dec 2014 01:19:04 +0000 (17:19 -0800)]
Merge pull request #421 from nemski/bug/master/add_netmap
(MODULES-464) Add netmap feature
Morgan Haskel [Wed, 17 Dec 2014 23:52:49 +0000 (15:52 -0800)]
Merge pull request #445 from laurenrother/master
Updates to format to fit style guide.
Lauren [Wed, 17 Dec 2014 23:44:53 +0000 (15:44 -0800)]
Updates to format to fit style guide.