Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 916955 Details for
Bug 1117035
prescript.pp attempts to compare string 7.0.1406 to the number 7
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
puppetlabs-firewall-pull-request-368.patch
puppetlabs-firewall-pull-request-368.patch (text/plain), 2.49 KB, created by
Gaël Chamoulaud
on 2014-07-09 21:29:26 UTC
(
hide
)
Description:
puppetlabs-firewall-pull-request-368.patch
Filename:
MIME Type:
Creator:
Gaël Chamoulaud
Created:
2014-07-09 21:29:26 UTC
Size:
2.49 KB
patch
obsolete
>From 176d79ea889849b1287dd773c5cc1a19b6ae6675 Mon Sep 17 00:00:00 2001 >From: Lars Kellogg-Stedman <lars@redhat.com> >Date: Tue, 3 Jun 2014 12:44:06 -0400 >Subject: [PATCH 1/2] correct resource dependencies for fedora/redhat > >This patches makes Firewall resources depend upon the iptables-services >package. Without this dependency, firewall rules will be instantiated >in the running configuration but may not persist correctly because the >necessary command is not (yet) available. > >Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com> >--- > manifests/linux/redhat.pp | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/manifests/linux/redhat.pp b/manifests/linux/redhat.pp >index a4c00b6..08965b8 100644 >--- a/manifests/linux/redhat.pp >+++ b/manifests/linux/redhat.pp >@@ -23,13 +23,17 @@ class firewall::linux::redhat ( > if $::operatingsystem == RedHat and $::operatingsystemrelease >= 7 { > package { 'iptables-services': > ensure => present, >+ before => Service['iptables'], > } >+ Package['iptables-services'] -> Firewall <||> > } > > if $::operatingsystem == Fedora and $::operatingsystemrelease >= 15 { > package { 'iptables-services': > ensure => present, >+ before => Service['iptables'], > } >+ Package['iptables-services'] -> Firewall <||> > } > > service { 'iptables': >-- >1.9.3 > > >From 573f3b8199ef76df866cf9671ebefd5e6cbe8d1b Mon Sep 17 00:00:00 2001 >From: Gael Chamoulaud <gchamoul@redhat.com> >Date: Wed, 9 Jul 2014 12:54:53 +0200 >Subject: [PATCH 2/2] Fixes CentOS 7 new version numbers > >- This patches fixes the comparison issue with the new CentOS 7 version numbers. >- Adds Support for Scientific Linux 7. > >Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com> >--- > manifests/linux/redhat.pp | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/manifests/linux/redhat.pp b/manifests/linux/redhat.pp >index 08965b8..44b0fe0 100644 >--- a/manifests/linux/redhat.pp >+++ b/manifests/linux/redhat.pp >@@ -17,10 +17,12 @@ class firewall::linux::redhat ( > $enable = true > ) { > >+ $el_release = ['RedHat', 'CentOS', 'Scientific'] >+ > # RHEL 7 and later and Fedora 15 and later require the iptables-services > # package, which provides the /usr/libexec/iptables/iptables.init used by > # lib/puppet/util/firewall.rb. >- if $::operatingsystem == RedHat and $::operatingsystemrelease >= 7 { >+ if $::operatingsystem in $el_release and $::operatingsystemmajrelease >= 7 { > package { 'iptables-services': > ensure => present, > before => Service['iptables'], >-- >1.9.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
gchamoul
: review? (
ichavero
)
Actions:
View
|
Diff
Attachments on
bug 1117035
: 916955