Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix various differences for rhel5 #314

Merged
merged 1 commit into from
Feb 19, 2014
Merged

Conversation

hunner
Copy link
Contributor

@hunner hunner commented Feb 18, 2014

iptables 1.3.5 ships on rhel 5 and is really old. It doesn't support --comment on ip6tables, doesn't support -m socket or --random, and the format of netmasks uses subnet mask format instead of CIDR.

@mrwacky42
Copy link

Heh, we have this workaround currently:

  case $::osfamily {
    'RedHat': {
      if $::lsbmajdistrelease >= 6 or $::operatingsystem == 'PSBM'{
        $firewall_supports_ipv6 = true
      }
      else {
        $firewall_supports_ipv6 = false
      }
    }

iptables 1.3.5 ships on rhel 5 and is really old. It doesn't support
`--comment` on ip6tables, doesn't support `-m socket` or `--random`, and
the format of netmasks uses subnet mask format instead of CIDR.
hunner added a commit that referenced this pull request Feb 19, 2014
Fix various differences for rhel5
@hunner hunner merged commit 8e03fff into puppetlabs:1.0.x Feb 19, 2014
@hunner hunner deleted the fix_cent5 branch February 19, 2014 04:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants