]> review.fuel-infra Code Review - puppet-modules/puppetlabs-firewall.git/log
puppet-modules/puppetlabs-firewall.git
7 years ago(maint) modulesync 915cde70e20 maint-modsync-915cde70e20
Glenn Sarti [Thu, 27 Jul 2017 21:56:16 +0000 (14:56 -0700)]
(maint) modulesync 915cde70e20

7 years agoMerge pull request #712 from puppetlabs/msync_modules5187
Hunter Haugen [Mon, 10 Jul 2017 21:46:41 +0000 (14:46 -0700)]
Merge pull request #712 from puppetlabs/msync_modules5187

(MODULES-5187) mysnc puppet 5 and ruby 2.4

7 years ago(MODULES-5187) mysnc puppet 5 and ruby 2.4 msync_modules5187
Eric Putnam [Thu, 6 Jul 2017 21:41:16 +0000 (14:41 -0700)]
(MODULES-5187) mysnc puppet 5 and ruby 2.4

7 years agoMerge pull request #711 from tphoney/MODULES-5177
Paula McMaw [Thu, 6 Jul 2017 08:59:43 +0000 (09:59 +0100)]
Merge pull request #711 from tphoney/MODULES-5177

(MODULES-5177) fixing tests for certain oses

7 years ago(MODULES-5177) fixing tests for certain oses
tphoney [Wed, 5 Jul 2017 13:07:22 +0000 (14:07 +0100)]
(MODULES-5177) fixing tests for certain oses

7 years agoMerge pull request #710 from tphoney/MODULES-5173
Helen [Tue, 4 Jul 2017 15:43:50 +0000 (16:43 +0100)]
Merge pull request #710 from tphoney/MODULES-5173

(MODULES-5173) fix regex and test on el6

7 years ago(MODULES-5173) fix regex and test on el6
tphoney [Tue, 4 Jul 2017 14:13:06 +0000 (15:13 +0100)]
(MODULES-5173) fix regex and test on el6

7 years agoMerge pull request #709 from hunner/bump_metadata
TP Honey [Mon, 3 Jul 2017 11:31:53 +0000 (12:31 +0100)]
Merge pull request #709 from hunner/bump_metadata

(MODULES-5144) Prep for puppet 5

7 years agoMerge pull request #696 from traylenator/style
TP Honey [Mon, 3 Jul 2017 11:31:18 +0000 (12:31 +0100)]
Merge pull request #696 from traylenator/style

Puppet Lint Fixes

7 years ago(MODULES-5144) Prep for puppet 5
Hunter Haugen [Mon, 26 Jun 2017 21:04:54 +0000 (14:04 -0700)]
(MODULES-5144) Prep for puppet 5

7 years agoMerge pull request #707 from spynappels/MODULES-5111-support_untracked_state
Helen [Wed, 21 Jun 2017 08:57:17 +0000 (09:57 +0100)]
Merge pull request #707 from spynappels/MODULES-5111-support_untracked_state

(MODULES-5111) Support UNTRACKED in state and ctstate rules

7 years ago(MODULES-5111) Support UNTRACKED in state and ctstate rules
Stefan Pijnappels [Wed, 21 Jun 2017 06:16:36 +0000 (07:16 +0100)]
(MODULES-5111) Support UNTRACKED in state and ctstate rules

Type updated to permit UNTRACKED to be passed as a valid state
README updated to document above change
Spec tests updated to verify UNTRACKED is accepted for both state and ctstate, and additionally to verify alphabetic ordering still works as expected.

All tests relating to these changes have passed.

7 years agoMerge pull request #698 from Kotty666/master
Hunter Haugen [Thu, 15 Jun 2017 17:34:36 +0000 (10:34 -0700)]
Merge pull request #698 from Kotty666/master

7 years agofix MODULES-1988
Philipp Frik [Wed, 3 May 2017 08:41:59 +0000 (10:41 +0200)]
fix MODULES-1988

7 years agoMerge pull request #706 from alexharv074/fix_readme
Hunter Haugen [Thu, 15 Jun 2017 17:10:43 +0000 (10:10 -0700)]
Merge pull request #706 from alexharv074/fix_readme

commit 95f56586a6506ce4c0460106483a7982fbaf4e05
Author: Alex Harvey <Alex_Harvey@amp.com.au>
Date:   Sun Jun 11 22:47:18 2017 +1000

    Add test for README

    This adds an Rspec test to fail the build if someone adds incorrectly
    formatted heading markers again.

commit b7b62ec28f9999ca499440838d26733aab530eb8
Author: Alex Harvey <Alex_Harvey@amp.com.au>
Date:   Sun Jun 11 22:31:33 2017 +1000

    (doc) Fix formatting in README.markdown

    Without this patch applied, a large chunk of the README is not
    displaying properly on Github.

7 years agoAdd test for README
Alex Harvey [Sun, 11 Jun 2017 12:47:18 +0000 (22:47 +1000)]
Add test for README

This adds an Rspec test to fail the build if someone adds incorrectly
formatted heading markers again.

7 years ago(doc) Fix formatting in README.markdown
Alex Harvey [Sun, 11 Jun 2017 12:31:33 +0000 (22:31 +1000)]
(doc) Fix formatting in README.markdown

Without this patch applied, a large chunk of the README is not
displaying properly on Github.

7 years agoMerge pull request #705 from spynappels/MODULES-1141-Error_on_ICMP_array
Helen [Tue, 23 May 2017 15:08:35 +0000 (16:08 +0100)]
Merge pull request #705 from spynappels/MODULES-1141-Error_on_ICMP_array

(Modules-1141) No longer accepts an array for icmp types #puppethack

7 years ago(MODULES-1141) Update Unit test to fix failing rspec test
Stefan Pijnappels [Tue, 23 May 2017 14:31:34 +0000 (15:31 +0100)]
(MODULES-1141) Update Unit test to fix failing rspec test

7 years agoMerge pull request #704 from neilbinney/MODULES-4828
Helen [Tue, 23 May 2017 13:41:35 +0000 (14:41 +0100)]
Merge pull request #704 from neilbinney/MODULES-4828

MODULES-4828 version_requirement updated

7 years agoMODULES-4828 version_requirement updated
Neil Binney [Tue, 23 May 2017 13:13:18 +0000 (14:13 +0100)]
MODULES-4828 version_requirement updated

7 years ago(MODULES-1141) Fail on sending array of ICMP types
Stefan Pijnappels [Tue, 23 May 2017 12:35:44 +0000 (13:35 +0100)]
(MODULES-1141) Fail on sending array of ICMP types

8 years agoMerge pull request #701 from eputnam/maint/nflog_osversion
Glenn Sarti [Tue, 16 May 2017 17:14:15 +0000 (10:14 -0700)]
Merge pull request #701 from eputnam/maint/nflog_osversion

(maint) do not test nflog on older versions of iptables ( < 1.3.7)

8 years ago(maint) update nflog feature and tests
Eric Putnam [Thu, 11 May 2017 18:24:36 +0000 (11:24 -0700)]
(maint) update nflog feature and tests
NFLOG is not available as a jump target until iptables version 1.3.7.
This adds an error to the provider when the version is lower than 1.3.7
and the user tries to use NFLOG options. This also updates the tests to
check and make sure the error is thrown on appropriate versions

8 years agoMerge pull request #700 from eputnam/maint/spec_space
Hunter Haugen [Wed, 10 May 2017 18:01:15 +0000 (11:01 -0700)]
Merge pull request #700 from eputnam/maint/spec_space

(maint) modify to account for spaces in iptables-save output

8 years ago(maint) modify to account for spaces in iptables-save output
Eric Putnam [Wed, 10 May 2017 17:58:41 +0000 (10:58 -0700)]
(maint) modify to account for spaces in iptables-save output

for nflog_spec we check iptables-save output and for --nflog-prefix, there can be varying amounts of space, so this accounts for that

8 years agoMerge pull request #697 from eputnam/FM-4896
Helen [Wed, 10 May 2017 16:04:45 +0000 (17:04 +0100)]
Merge pull request #697 from eputnam/FM-4896

(FM-4896) add NFLOG support

8 years agoMerge pull request #684 from hunner/check-ebtables
Eric Putnam [Thu, 4 May 2017 17:39:33 +0000 (10:39 -0700)]
Merge pull request #684 from hunner/check-ebtables

Allow managing ebtables

8 years ago(FM-4896) add NFLOG support
Eric Putnam [Wed, 3 May 2017 20:17:21 +0000 (13:17 -0700)]
(FM-4896) add NFLOG support

This adds four new features to the firewall type: nflog_groups, _range, _prefix, and _threshold. Unit tests and acceptance tests were also added.

8 years agoPuppet Lint Fixes
Steve Traylen [Tue, 2 May 2017 13:59:28 +0000 (15:59 +0200)]
Puppet Lint Fixes

8 years agoMerge pull request #695 from blackknight36/firewalld_fix
Hunter Haugen [Fri, 28 Apr 2017 23:20:48 +0000 (16:20 -0700)]
Merge pull request #695 from blackknight36/firewalld_fix

Change - Ensure that firewalld is stopped before iptables starts

8 years agoChange - Ensure that firewalld is stopped before iptables starts
Michael Watters [Fri, 14 Apr 2017 20:41:46 +0000 (16:41 -0400)]
Change - Ensure that firewalld is stopped before iptables starts

firewalld must be stopped and disabled before the iptables service
will start properly.

8 years agoMerge pull request #693 from vshn/mhu/fix_negated_physdev
Hunter Haugen [Tue, 4 Apr 2017 17:17:19 +0000 (10:17 -0700)]
Merge pull request #693 from vshn/mhu/fix_negated_physdev

Properly handle negated `--physdev-is-...` rules

8 years agoProperly handle negated `--physdev-is-...` rules
Manuel Hutter [Mon, 3 Apr 2017 13:33:41 +0000 (15:33 +0200)]
Properly handle negated `--physdev-is-...` rules

8 years agoMerge pull request #691 from puppetlabs/modules-4528
Paula McMaw [Mon, 27 Mar 2017 12:39:21 +0000 (13:39 +0100)]
Merge pull request #691 from puppetlabs/modules-4528

modulesync e25ca9 - Add locales folder and config.yaml, f4160bf replace version comparisons unnafected by MODULES-4528 to use versioncmp

8 years ago[maint] modulesync e25ca9 - Add locales folder and config.yaml, f4160bf replace versi... modules-4528
Wilson McCoubrey [Thu, 16 Mar 2017 15:50:04 +0000 (15:50 +0000)]
[maint] modulesync e25ca9 - Add locales folder and config.yaml, f4160bf replace version comparisons unnafected by MODULES-4528 to use versioncmp

8 years agoFix typo in spec tests
Wilson McCoubrey [Tue, 21 Mar 2017 15:21:01 +0000 (15:21 +0000)]
Fix typo in spec tests

8 years agoMerge pull request #690 from jg-development/master
Hunter Haugen [Mon, 20 Mar 2017 18:01:52 +0000 (11:01 -0700)]
Merge pull request #690 from jg-development/master

MODULES-4279 use complete option for geoip

8 years agoMerge pull request #689 from puppetlabs/MODULES-4528
Hailee Kenney [Mon, 20 Mar 2017 14:02:51 +0000 (14:02 +0000)]
Merge pull request #689 from puppetlabs/MODULES-4528

[MODULES-4528] Replace Puppet.version.to_f with Puppet::Util::Package.versioncmp

8 years agoMODULES-4279 use complete option for geoip
Jan Gantzert [Sat, 18 Mar 2017 10:16:14 +0000 (11:16 +0100)]
MODULES-4279 use complete option for geoip

8 years ago(maint) Replace version comparisons unnafected by MODULES-4528 to use versioncmp MODULES-4528
Wilson McCoubrey [Thu, 16 Mar 2017 15:50:04 +0000 (15:50 +0000)]
(maint) Replace version comparisons unnafected by MODULES-4528 to use versioncmp

For sake of consistency

8 years ago[MODULES-4528] Replace Puppet.version.to_f with Puppet::Util::Package.versioncmp
Wilson McCoubrey [Thu, 16 Mar 2017 11:35:57 +0000 (11:35 +0000)]
[MODULES-4528] Replace Puppet.version.to_f with Puppet::Util::Package.versioncmp

8 years agoAdd docs and tests
Hunter Haugen [Thu, 9 Feb 2017 17:17:39 +0000 (09:17 -0800)]
Add docs and tests

8 years agoMerge pull request #686 from blackknight36/selinux_fix
Hunter Haugen [Mon, 13 Mar 2017 22:21:49 +0000 (15:21 -0700)]
Merge pull request #686 from blackknight36/selinux_fix

Change - Ensure that the iptables configuration file has proper context

8 years agoMerge pull request #688 from wilson208/ci_fix
Paula McMaw [Mon, 13 Mar 2017 10:18:27 +0000 (10:18 +0000)]
Merge pull request #688 from wilson208/ci_fix

[MODULES-4234] Move physdev_is_in and physdev_is_out tests

8 years ago[MODULES-4234] Move physdev_is_in and physdev_is_out tests
Wilson McCoubrey [Mon, 13 Mar 2017 08:41:47 +0000 (08:41 +0000)]
[MODULES-4234] Move physdev_is_in and physdev_is_out tests

To block of 'ip6tables physdev tests' which do not run on EL5 or SLES 10.

8 years agoChange - Ensure that the iptables configuration file has proper context
Michael Watters [Tue, 21 Feb 2017 15:04:00 +0000 (10:04 -0500)]
Change - Ensure that the iptables configuration file has proper context

The SELinux context for the iptables configuration file was not being set
properly on Redhat based platforms.  The default context for this file
is 'system_u:object_r:system_conf_t:s0' which is shown by using the restorecon command.

8 years agoMerge pull request #685 from mhutter/ticket/4234-fix-physdev
Hunter Haugen [Wed, 8 Mar 2017 21:20:56 +0000 (13:20 -0800)]
Merge pull request #685 from mhutter/ticket/4234-fix-physdev

(MODULES-4234) Add support for --physdev-is-{in,out}

8 years ago(MODULES-4234) Add support for physdev-is-{in,out}
Manuel Hutter [Thu, 16 Feb 2017 08:44:31 +0000 (09:44 +0100)]
(MODULES-4234) Add support for physdev-is-{in,out}

8 years ago[MODULES-4249] Introduce class parameter ebtables_manage
Peter Wienemann [Fri, 27 Jan 2017 19:46:03 +0000 (20:46 +0100)]
[MODULES-4249] Introduce class parameter ebtables_manage

If set to true, it ensures that firewallchain resources work for the
ethernet protocol (default: false)

8 years agoMerge pull request #680 from jg-development/master
Hunter Haugen [Thu, 26 Jan 2017 17:45:36 +0000 (09:45 -0800)]
Merge pull request #680 from jg-development/master

MODULES-4279 Add support for the geoip module

8 years agoMerge pull request #681 from puppetlabs/hunner_msync
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

8 years ago(MODULES-4098) Sync the rest of the files hunner_msync
Hunter Haugen [Fri, 20 Jan 2017 00:13:05 +0000 (16:13 -0800)]
(MODULES-4098) Sync the rest of the files

8 years agoMerge pull request #675 from puppetlabs/hunner_msync
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

8 years agoMODULES-4279 Add support for the geoip module
Jan Gantzert [Thu, 12 Jan 2017 20:17:13 +0000 (21:17 +0100)]
MODULES-4279 Add support for the geoip module

8 years agoMerge pull request #679 from puppetlabs/implement-beaker-module_install_helper
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

8 years ago(MODULES-4097) Sync travis.yml
Hunter Haugen [Thu, 5 Jan 2017 23:31:17 +0000 (15:31 -0800)]
(MODULES-4097) Sync travis.yml

8 years ago[MODULES-4224] Implement beaker-module_install_helper implement-beaker-module_install_helper
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

8 years agoMerge pull request #678 from puppetlabs/release
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

8 years agoMerge pull request #677 from wilson208/182-release-prep 1.8.2
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

8 years agoUse 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

8 years agoMerge pull request #676 from wilson208/182-release-prep
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

8 years agoChange 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

8 years agoMerge pull request #673 from wilson208/182-release-prep
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

8 years agoPrep 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

8 years agoMerge pull request #672 from wilson208/rhel-fix
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

8 years agoFixes 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

8 years agoMerge pull request #671 from wilson208/lint-fix
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

8 years agoFix SELinux support for service_name_v6 param
Wilson McCoubrey [Wed, 28 Dec 2016 12:01:58 +0000 (12:01 +0000)]
Fix SELinux support for service_name_v6 param

8 years agoMerge pull request #646 from kindred/master
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

8 years agoMerge pull request #650 from pimpolderman/patch-2
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

8 years ago(MODULES-3572) Ip6tables service is not managed in the redhat family. (#641)
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

8 years agoMerge pull request #647 from mwhahaha/iptables-wait
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

8 years agoMerge pull request #669 from puppetlabs/modsync
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

8 years agogettext and spec.opts modsync
Eric Putnam [Wed, 14 Dec 2016 21:28:51 +0000 (13:28 -0800)]
gettext and spec.opts

8 years agoMerge pull request #667 from genebean/ticket/MODULES-1222_containment
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

8 years agoMODULES-1222 - added containment
Gene Liverman [Tue, 13 Dec 2016 18:08:11 +0000 (13:08 -0500)]
MODULES-1222 - added containment

8 years agoMerge pull request #661 from puppetlabs/hunner_msync
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

8 years agoMerge pull request #665 from eputnam/specopts
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

8 years agoremoves spec.opts
Eric Putnam [Tue, 6 Dec 2016 23:45:24 +0000 (15:45 -0800)]
removes spec.opts

8 years agoMerge pull request #664 from bmjen/fix-ci
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

8 years agoFixes SELinux compatibility with EL6
Bryan Jen [Fri, 2 Dec 2016 20:18:14 +0000 (20:18 +0000)]
Fixes SELinux compatibility with EL6

8 years agoMerge pull request #663 from bmjen/fix-ci
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

8 years ago(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

8 years agoMerge pull request #662 from bmjen/fix-ci
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

8 years agoCompletes 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

8 years ago(MODULES-3631) msync Gemfile for 1.9 frozen strings
Hunter Haugen [Thu, 1 Dec 2016 19:37:10 +0000 (11:37 -0800)]
(MODULES-3631) msync Gemfile for 1.9 frozen strings

8 years agoMerge pull request #660 from bmjen/fix-ci
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

8 years agoFixes unit tests to pass in puppetversion fact.
Bryan Jen [Thu, 1 Dec 2016 00:44:11 +0000 (00:44 +0000)]
Fixes unit tests to pass in puppetversion fact.

8 years agoRe-add RHEL7 SELinux support for puppet3
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.

8 years agoMerge pull request #649 from pimpolderman/patch-1
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

8 years agoMerge pull request #658 from DavidS/modules-4093-fix-iptables-sel-permissions-mgmt...
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

8 years ago(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.

8 years agoMerge pull request #657 from puppetlabs/hunner_msync
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

8 years ago(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

8 years agomocha version update for test hanging issue
Eric Putnam [Wed, 2 Nov 2016 23:00:53 +0000 (16:00 -0700)]
mocha version update for test hanging issue

8 years agoMerge pull request #655 from puppetlabs/Paula_modulesync
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

8 years ago(MODULES-3983) Update parallel_tests for ruby 2.0.0 Paula_modulesync
Paula McMaw [Thu, 20 Oct 2016 08:47:34 +0000 (09:47 +0100)]
(MODULES-3983) Update parallel_tests for ruby 2.0.0

8 years agoMerge pull request #653 from HAIL9000/issue/master/add_oracle5_node_config_file
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

8 years ago(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.