Version information
released Apr 25th 2017
This version is compatible with:
- , , , , , ,
Start using this module
Add this module to your Puppetfile:
mod 'eyp-iptables', '0.1.15'
Learn more about managing modules with a PuppetfileDocumentation
eyp/iptables — version 0.1.15 Apr 25th 2017
iptables
Table of Contents
Overview
Disable iptables
Module Description
This module is intended to disable iptables by setting an empty rule set (IPv4 only)
To be able to manage logrotate files it needs eyp-logrotate
Setup
What iptables affects
Manages:
- package
- service (SLES11SP3 disables SuSEfirewall2)
- files:
- RedHat:
- /etc/sysconfig/iptables
- Debian:
- /etc/iptables/rules.v4
- SLES 11 SP 3
- does not manage any files
- RedHat:
Setup Requirements
This module requires pluginsync enabled
Beginning with iptables
class { 'iptables': }
Usage
Put the classes, types, and resources for customizing, configuring, and doing the fancy stuff with your module here.
Reference
iptables
- ensure: (default: running)
- enable: (default: true)
- manage_docker_service: (default: false)
- manage_service: (default: true)
- manage_logrotate: add logrotate config file (default: true)
- logrotate_rotate = '4',
- logrotate_compress = true,
- logrotate_missingok = true,
- logrotate_notifempty = true,
- logrotate_frequency = 'weekly',
Limitations
Tested on:
- CentOS 5
- CentOS 6
- CentOS 7
- Ubuntu 14.04
- SLES 11 SP3
Development
We are pushing to have acceptance testing in place, so any new feature must have tests to check both presence and absence of any feature
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Dependencies
- puppetlabs/stdlib (>= 1.0.0)