]>
review.fuel-infra Code Review - puppet-modules/puppetlabs-firewall.git/log
Eric Putnam [Fri, 20 Jan 2017 20:40:03 +0000 (12:40 -0800)]
Merge pull request #681 from puppetlabs/hunner_msync
(MODULES-4098) Sync the rest of the files
Hunter Haugen [Fri, 20 Jan 2017 00:13:05 +0000 (16:13 -0800)]
(MODULES-4098) Sync the rest of the files
Eric Putnam [Fri, 13 Jan 2017 23:26:00 +0000 (15:26 -0800)]
Merge pull request #675 from puppetlabs/hunner_msync
(MODULES-4097) Sync travis.yml
Eric Putnam [Wed, 11 Jan 2017 14:47:30 +0000 (09:47 -0500)]
Merge pull request #679 from puppetlabs/implement-beaker-module_install_helper
[MODULES-4224] Implement beaker-module_install_helper
Hunter Haugen [Thu, 5 Jan 2017 23:31:17 +0000 (15:31 -0800)]
(MODULES-4097) Sync travis.yml
Wilson McCoubrey [Tue, 10 Jan 2017 11:42:40 +0000 (11:42 +0000)]
[MODULES-4224] Implement beaker-module_install_helper
Gemfile updated by modulesync PR: puppetlabs/modulesync_configs#122
Wilson McCoubrey [Tue, 10 Jan 2017 10:55:14 +0000 (10:55 +0000)]
Merge pull request #678 from puppetlabs/release
1.8.2 Release Mergeback
Eric Putnam [Mon, 9 Jan 2017 14:39:35 +0000 (09:39 -0500)]
Merge pull request #677 from wilson208/182-release-prep
Use only minor version bump for release 1.8.2, keep puppet 3 requirement
Wilson McCoubrey [Mon, 9 Jan 2017 14:00:15 +0000 (14:00 +0000)]
Use only minor version bump for release 1.8.2, keep puppet 3 requirement
David Schmitt [Fri, 6 Jan 2017 13:43:25 +0000 (13:43 +0000)]
Merge pull request #676 from wilson208/182-release-prep
Change from minor version bump to major version bump
Wilson McCoubrey [Fri, 6 Jan 2017 12:53:23 +0000 (12:53 +0000)]
Change from minor version bump to major version bump
Because of changing dependency on puppet to >= 4.0.0
Helen [Wed, 4 Jan 2017 17:28:24 +0000 (17:28 +0000)]
Merge pull request #673 from wilson208/182-release-prep
Prep for supported release 1.8.2
Wilson McCoubrey [Tue, 3 Jan 2017 17:39:18 +0000 (17:39 +0000)]
Prep for supported release 1.8.2
David Schmitt [Tue, 3 Jan 2017 17:00:47 +0000 (17:00 +0000)]
Merge pull request #672 from wilson208/rhel-fix
Fixes ip6tables errors on RHEL 6/7
Wilson McCoubrey [Tue, 3 Jan 2017 16:33:27 +0000 (16:33 +0000)]
Fixes ip6tables errors on RHEL 6/7
Caused through merge of PR's #658 and then subsequently this older PR #641
Rob Reynolds [Wed, 28 Dec 2016 16:35:07 +0000 (10:35 -0600)]
Merge pull request #671 from wilson208/lint-fix
Add RHEL7 SELinux support for new service_name_v6 param, subsequently fix puppet lint error
Wilson McCoubrey [Wed, 28 Dec 2016 12:01:58 +0000 (12:01 +0000)]
Fix SELinux support for service_name_v6 param
TP Honey [Fri, 23 Dec 2016 12:21:35 +0000 (12:21 +0000)]
Merge pull request #646 from kindred/master
Fixing issue with double quotes being removed when part of the comment
TP Honey [Fri, 23 Dec 2016 12:08:35 +0000 (12:08 +0000)]
Merge pull request #650 from pimpolderman/patch-2
ip6tables_version fact doesn't return the version
Marco Fretz [Fri, 23 Dec 2016 12:05:57 +0000 (13:05 +0100)]
(MODULES-3572) Ip6tables service is not managed in the redhat family. (#641)
* Manage ip6tables service in RHEL. Add parameter to specify service_name for iptables and ip6tables. update README
For the redhat OS family the service for managing ip6tables is called
ip6tables. This service is currently not managed with this module.
This commit fixes this issue by introducing an additional parameter
$service_name_v6 for the ipv6 version of the service.
* remove validate_string, no stdlib
TP Honey [Fri, 23 Dec 2016 11:55:33 +0000 (11:55 +0000)]
Merge pull request #647 from mwhahaha/iptables-wait
Add --wait to iptables commands
Hunter Haugen [Thu, 15 Dec 2016 16:18:35 +0000 (08:18 -0800)]
Merge pull request #669 from puppetlabs/modsync
(FM-5972) gettext and spec.opts
Eric Putnam [Wed, 14 Dec 2016 21:28:51 +0000 (13:28 -0800)]
gettext and spec.opts
Bryan Jen [Tue, 13 Dec 2016 18:37:08 +0000 (11:37 -0700)]
Merge pull request #667 from genebean/ticket/MODULES-1222_containment
[#puppethack] MODULES-1222 - added containment
Gene Liverman [Tue, 13 Dec 2016 18:08:11 +0000 (13:08 -0500)]
MODULES-1222 - added containment
David Schmitt [Wed, 7 Dec 2016 17:08:20 +0000 (17:08 +0000)]
Merge pull request #661 from puppetlabs/hunner_msync
(MODULES-3631) msync Gemfile for 1.9 frozen strings
Hunter Haugen [Wed, 7 Dec 2016 00:20:44 +0000 (16:20 -0800)]
Merge pull request #665 from eputnam/specopts
(FM-5939) removes spec.opts
Eric Putnam [Tue, 6 Dec 2016 23:45:24 +0000 (15:45 -0800)]
removes spec.opts
Hunter Haugen [Fri, 2 Dec 2016 20:59:28 +0000 (12:59 -0800)]
Merge pull request #664 from bmjen/fix-ci
Fixes SELinux compatibility with EL6
Bryan Jen [Fri, 2 Dec 2016 20:18:14 +0000 (20:18 +0000)]
Fixes SELinux compatibility with EL6
Hunter Haugen [Fri, 2 Dec 2016 18:41:04 +0000 (10:41 -0800)]
Merge pull request #663 from bmjen/fix-ci
(MODULES-4173) Fixes selinux issues on centos7
Bryan Jen [Fri, 2 Dec 2016 16:57:23 +0000 (16:57 +0000)]
(MODULES-4173) Fixes selinux issues on centos7
Hunter Haugen [Thu, 1 Dec 2016 21:25:09 +0000 (13:25 -0800)]
Merge pull request #662 from bmjen/fix-ci
Completes re-add of SELinux support for puppet3 on EL7
Bryan Jen [Thu, 1 Dec 2016 20:43:39 +0000 (20:43 +0000)]
Completes re-add of SELinux support for puppet3 on EL7
Hunter Haugen [Thu, 1 Dec 2016 19:37:10 +0000 (11:37 -0800)]
(MODULES-3631) msync Gemfile for 1.9 frozen strings
Eric Putnam [Thu, 1 Dec 2016 03:39:19 +0000 (19:39 -0800)]
Merge pull request #660 from bmjen/fix-ci
Re-add RHEL7 SELinux support for puppet3
Bryan Jen [Thu, 1 Dec 2016 00:44:11 +0000 (00:44 +0000)]
Fixes unit tests to pass in puppetversion fact.
David Schmitt [Mon, 28 Nov 2016 11:22:41 +0000 (11:22 +0000)]
Re-add RHEL7 SELinux support for puppet3
Since the autobefore fix on the firewall type is not available for puppet 3,
this re-adds the RHEL7 workaround if we're running on puppet 3.
Eric Putnam [Wed, 30 Nov 2016 23:19:56 +0000 (15:19 -0800)]
Merge pull request #649 from pimpolderman/patch-1
iptables_version fact doesn't return the version
Eric Putnam [Sun, 20 Nov 2016 20:11:19 +0000 (12:11 -0800)]
Merge pull request #658 from DavidS/modules-4093-fix-iptables-sel-permissions-mgmt-on-rhel7
(MODULES-4093) Tighten SELinux permissions on persistent files
David Schmitt [Sat, 19 Nov 2016 14:25:35 +0000 (15:25 +0100)]
(MODULES-4093) Tighten SELinux permissions on persistent files
RHEL7's /usr/libexec/iptables/iptables.init creates the /etc/sysconfig/iptables
file with the wrong selinux parameters, causing spurious changes on the next
run:
[root@ns57zjx0zb7s0b5 ~]# rm -f /etc/sysconfig/iptables
[root@ns57zjx0zb7s0b5 ~]# ls -la /etc/sysconfig/iptables
ls: cannot access /etc/sysconfig/iptables: No such file or directory
[root@ns57zjx0zb7s0b5 ~]# iptables -A INPUT --source 8.8.8.8 -j REJECT
[root@ns57zjx0zb7s0b5 ~]# /usr/libexec/iptables/iptables.init save
iptables: Saving firewall rules to /etc/sysconfig/iptables:[ OK ]
[root@ns57zjx0zb7s0b5 ~]# ls -la /etc/sysconfig/iptables
-rw-------. 1 root root 259 Nov 19 06:02 /etc/sysconfig/iptables
[root@ns57zjx0zb7s0b5 ~]# /opt/puppetlabs/bin/puppet apply --verbose selinux.pp
Notice: Compiled catalog for ns57zjx0zb7s0b5.delivery.puppetlabs.net in environment production in 0.08 seconds
Info: Applying configuration version '
1479564151 '
Notice: /Stage[main]/Main/File[/etc/sysconfig/iptables]/seluser: seluser changed 'unconfined_u' to 'system_u'
Notice: /Stage[main]/Main/File[/etc/sysconfig/iptables]/seltype: seltype changed 'etc_t' to 'system_conf_t'
Notice: Applied catalog in 0.03 seconds
[root@ns57zjx0zb7s0b5 ~]# X Error of failed request: RenderBadPicture (invalid Picture parameter)
To fix this, this patch changes the order in which puppet checks the resources.
Instead of managing the persistence file before the service, now we manage the
file after all firewall rules. The firewall provider persists the rules to disk
causing the /etc/sysconfig/iptables file to be created. Managing its
permissions afterwards leads to one-run idempotency.
To see why this change is legal, consider the possible initial states for a
moment:
* fresh install: the /etc/sysconfig/iptables file does not exist
in the previous implementation, puppet would create it empty with the correct
permissions, only to have it overwritten when persisting the firewall rules
* fixed point: the /etc/sysconfig/iptables file already exists with the correct
permissions, and nothing has changed. The order of resource application is
irrelevant
* a firewall rule has changed: the firewall type will persist the rules
changing the permissions to a invalid state, puppet will fix it in the same
agent run.
* the /etc/sysconfig/iptables file is in an invalid state: this might be the
most annoying case. In the original version, puppet would have fixed the file
before touching the service. Now the service could arguably fail to start if
the permissions are really bad. Puppet will still fix the issue, and start
the service on the next run, so I do not consider this to be a big problem.
Eric Putnam [Thu, 10 Nov 2016 19:02:13 +0000 (11:02 -0800)]
Merge pull request #657 from puppetlabs/hunner_msync
(MODULES-3704) Update gemfile template to be identical
Hunter Haugen [Wed, 9 Nov 2016 18:18:33 +0000 (10:18 -0800)]
(MODULES-3704) Update gemfile template to be identical
Eric Putnam [Wed, 2 Nov 2016 23:00:53 +0000 (16:00 -0700)]
mocha version update for test hanging issue
Helen [Thu, 27 Oct 2016 14:56:49 +0000 (15:56 +0100)]
Merge pull request #655 from puppetlabs/Paula_modulesync
(MODULES-3983) Update parallel_tests for ruby 2.0.0
Paula McMaw [Thu, 20 Oct 2016 08:47:34 +0000 (09:47 +0100)]
(MODULES-3983) Update parallel_tests for ruby 2.0.0
Bryan Jen [Mon, 17 Oct 2016 16:46:14 +0000 (09:46 -0700)]
Merge pull request #653 from HAIL9000/issue/master/add_oracle5_node_config_file
(maint) Add node yaml file for oracle5
Hailee Kenney [Mon, 17 Oct 2016 16:09:09 +0000 (17:09 +0100)]
(maint) Add node yaml file for oracle5
Prior to this commit the firewall module did not have a node file
for oracle5 so it was failing in CI. In order to fix this, add the
appropriate config file so tests can be run on oracle5.
Eric Putnam [Wed, 12 Oct 2016 05:03:32 +0000 (22:03 -0700)]
Merge pull request #651 from puppetlabs/modulesync
Update modulesync_config [
51f469d ]
David Schmitt [Mon, 10 Oct 2016 13:20:42 +0000 (14:20 +0100)]
Update modulesync_config [
51f469d ]
Pim Polderman [Wed, 28 Sep 2016 19:29:33 +0000 (21:29 +0200)]
ip6tables_version fact doesn't return the version
When running the 'facter ip6tables_version' it returns a empty string. The problem is in the confine :kernel => linux line. Adjusted this to capital L.
Pim Polderman [Wed, 28 Sep 2016 19:24:01 +0000 (21:24 +0200)]
iptables_version fact doesn't return the version
When running 'facter iptables_version' it doesn't return a value. The bug seems to in the confine not matching the right kernel value.
TP Honey [Tue, 30 Aug 2016 09:27:28 +0000 (10:27 +0100)]
Merge pull request #648 from puppetlabs/modulesync
Update modulesync_config [
a3fe424 ]
David Schmitt [Fri, 26 Aug 2016 07:28:58 +0000 (09:28 +0200)]
Update modulesync_config [
a3fe424 ]
Alex Schultz [Mon, 15 Aug 2016 17:01:50 +0000 (11:01 -0600)]
Add --wait to iptables commands
This change adds the --wait flag to the insert/update/delete iptables
actions to prevent failures from occuring when iptables is running
outside of puppet. Previously if a script or a user is running iptables
commands while puppet is running, there may be failures in the firewall
provider if iptables cannot get a lock. By default, iptables will just
fail with an error so using --wait will make it wait until a lock can be
established. The --wait is only added for iptables >= 1.4.20.
Robert Klose [Wed, 3 Aug 2016 00:14:01 +0000 (10:14 +1000)]
Fixing issue with double quotes being removed when part of the comment
TP Honey [Fri, 29 Jul 2016 10:29:35 +0000 (11:29 +0100)]
Merge pull request #645 from puppetlabs/update-modulesync
(MAINT) Update for modulesync_config
72d19f184
David Schmitt [Wed, 27 Jul 2016 14:43:52 +0000 (15:43 +0100)]
(MAINT) Update for modulesync_config
72d19f184
Hunter Haugen [Wed, 20 Jul 2016 21:28:19 +0000 (14:28 -0700)]
Merge pull request #644 from ianand0204/master
Implemented paramters for NFQUEUE jump target
Ian Anderson [Thu, 14 Jul 2016 18:30:12 +0000 (11:30 -0700)]
Implemented paramters for NFQUEUE jump target
TP Honey [Fri, 8 Jul 2016 13:55:56 +0000 (14:55 +0100)]
Merge pull request #643 from DavidS/modulesync
(MODULES-3581) modulesync [
067d08a ]
David Schmitt [Fri, 8 Jul 2016 12:34:09 +0000 (13:34 +0100)]
(MODULES-3581) modulesync [
067d08a ]
David Schmitt [Thu, 30 Jun 2016 12:45:41 +0000 (13:45 +0100)]
Merge pull request #642 from puppetlabs/modulesync
{maint} modulesync
0794b2c
tphoney [Thu, 30 Jun 2016 12:18:19 +0000 (13:18 +0100)]
{maint} modulesync
0794b2c
Hunter Haugen [Fri, 10 Jun 2016 00:18:42 +0000 (17:18 -0700)]
Merge pull request #638 from bmjen/add-xenial
(QENG-3973) Adds Xenial nodesets for aio and pe
Bryan Jen [Fri, 10 Jun 2016 00:09:54 +0000 (17:09 -0700)]
(QENG-3973) Adds Xenial nodesets for aio and pe
Hunter Haugen [Wed, 1 Jun 2016 16:11:30 +0000 (09:11 -0700)]
Merge pull request #636 from puppetlabs/1.8.x
1.8.x Mergeback
JT (Jonny) [Mon, 16 May 2016 12:41:51 +0000 (13:41 +0100)]
Merge pull request #615 from nabam/multiple-ipset
support for multiple ipsets in a rule
Bryan Jen [Wed, 11 May 2016 20:23:38 +0000 (13:23 -0700)]
Merge pull request #635 from hunner/prep_1.8.1
Prep 1.8.1
Hunter Haugen [Mon, 25 Apr 2016 17:49:35 +0000 (10:49 -0700)]
(maint) Remove nat flush
The man page says it's not implemented for ip6tables
Bryan Jen [Wed, 11 May 2016 18:50:25 +0000 (11:50 -0700)]
Merge pull request #633 from hunner/prep_1.8.1
(maint) re-add the local nodesets
David Schmitt [Wed, 20 Apr 2016 13:56:35 +0000 (14:56 +0100)]
(maint) re-add the local nodesets
These nodesets are required for internal CI; to set the ssh timeout.
Bryan Jen [Mon, 9 May 2016 22:26:27 +0000 (15:26 -0700)]
Merge pull request #632 from hunner/prep_1.8.1
Prep 1.8.1
Hunter Haugen [Mon, 9 May 2016 20:59:39 +0000 (13:59 -0700)]
Prep 1.8.1
Cherry pick PRs #622 and #627
David Schmitt [Wed, 13 Apr 2016 19:49:43 +0000 (20:49 +0100)]
Update to newest modulesync_configs [
9ca280f ]
David Schmitt [Mon, 18 Apr 2016 18:10:21 +0000 (19:10 +0100)]
(maint) remove UNSUPPORTED_PLATFORMS filter and improve spec description
David Schmitt [Thu, 14 Apr 2016 09:58:21 +0000 (10:58 +0100)]
(maint) fix specs to run under STRICT_VARIABLES
Bryan Jen [Mon, 9 May 2016 21:02:59 +0000 (14:02 -0700)]
Merge pull request #631 from hunner/prep_1.8.1
Prep 1.8.1
Hunter Haugen [Mon, 9 May 2016 20:59:39 +0000 (13:59 -0700)]
Prep 1.8.1
jbondpdx [Wed, 27 Apr 2016 20:22:10 +0000 (13:22 -0700)]
DOC-2683: adding known issue
JT (Jonny) [Fri, 6 May 2016 11:09:51 +0000 (12:09 +0100)]
Merge pull request #627 from jbondpdx/master
DOC-2683: adding known issue
Hunter Haugen [Thu, 5 May 2016 18:28:05 +0000 (11:28 -0700)]
Merge pull request #630 from shumbert/modules-3329
(Modules 3329) Add support for iptables length and string extensions
Simon Humbert [Thu, 5 May 2016 15:59:42 +0000 (11:59 -0400)]
update README.markdown and add tests in spec/fixtures/iptables/conversion_hash.rb
Simon Humbert [Tue, 3 May 2016 21:18:50 +0000 (17:18 -0400)]
adding iptables string matching extension
Simon Humbert [Tue, 3 May 2016 21:11:29 +0000 (17:11 -0400)]
update handling of length property
Simon Humbert [Tue, 3 May 2016 21:04:19 +0000 (17:04 -0400)]
adding iptables length extension
jbondpdx [Wed, 27 Apr 2016 20:22:10 +0000 (13:22 -0700)]
DOC-2683: adding known issue
Hunter Haugen [Mon, 25 Apr 2016 23:03:03 +0000 (16:03 -0700)]
Merge pull request #624 from broadinstitute/freebsd
allow FreeBSD when dependencies require this class
Bryan Jen [Mon, 25 Apr 2016 19:59:56 +0000 (14:59 -0500)]
Merge pull request #625 from hunner/fix_flush
(maint) Remove nat flush
Hunter Haugen [Mon, 25 Apr 2016 17:49:35 +0000 (10:49 -0700)]
(maint) Remove nat flush
The man page says it's not implemented for ip6tables
Riccardo Calixte [Fri, 8 Apr 2016 15:34:47 +0000 (11:34 -0400)]
allow FreeBSD when dependencies require this class
Greg Hardy [Wed, 20 Apr 2016 15:56:24 +0000 (16:56 +0100)]
Merge pull request #623 from DavidS/restore-local-nodesets
(maint) re-add the local nodesets
David Schmitt [Wed, 20 Apr 2016 13:56:35 +0000 (14:56 +0100)]
(maint) re-add the local nodesets
These nodesets are required for internal CI; to set the ssh timeout.
Greg Hardy [Tue, 19 Apr 2016 10:27:10 +0000 (11:27 +0100)]
Merge pull request #622 from puppetlabs/update-msync
Update to newest modulesync_configs [
9ca280f ]
David Schmitt [Wed, 13 Apr 2016 19:49:43 +0000 (20:49 +0100)]
Update to newest modulesync_configs [
9ca280f ]
David Schmitt [Mon, 18 Apr 2016 18:10:21 +0000 (19:10 +0100)]
(maint) remove UNSUPPORTED_PLATFORMS filter and improve spec description
David Schmitt [Thu, 14 Apr 2016 09:58:21 +0000 (10:58 +0100)]
(maint) fix specs to run under STRICT_VARIABLES
TP Honey [Thu, 7 Apr 2016 13:18:02 +0000 (14:18 +0100)]
Merge pull request #621 from mmckinst/align_text
align text properly
Mark McKinstry [Thu, 7 Apr 2016 01:18:02 +0000 (21:18 -0400)]
align text properly
JT (Jonny) [Fri, 1 Apr 2016 10:02:37 +0000 (11:02 +0100)]
Merge pull request #619 from alexharv074/fix_up_rspec_deprecation_warnings
Fix up rspec deprecation warnings