GithubHelp home page GithubHelp logo

rkrepsilon / puppet-conntrackd Goto Github PK

View Code? Open in Web Editor NEW

This project forked from m4ce/puppet-conntrackd

0.0 3.0 0.0 12 KB

Puppet module for Conntrackd

Shell 35.65% Puppet 21.44% Pascal 42.91%

puppet-conntrackd's Introduction

Puppet module for Conntrackd

Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Setup - The basics of getting started with the conntrackd module
  4. Reference - Types reference and additional functionalities
  5. Hiera integration
  6. Contact

Module to manage Conntrackd configuration and runtime. All configuration can be driven via Hiera.

The conntracd module allows to automate the configuration and deployment of the conntrackd daemon.

The include the main class as follows:

include conntrackd

Classes

conntrackd

conntrackd

include conntrackd
opts (optional)

Conntrackd options.

config_dir (optional)

Path to the configuration directory. Defaults to /etc/conntrackd.

config_dir_purge (optional)

Whether we should purge unmanaged resources under the conntrackd's configuration directory. Defaults to true.

config_file (optional)

Path to the conntrackd configuration file. Defaults to $config_dir/conntrackd.conf.

config_file_manage (optional)

Whether we should manage conntrackd's configuration file or not. Defaults to true.

packages (optional)

Installation packages for conntrackd.

Defaults to:

conntrackd::packages:
  "conntrackd": {}
service_name (optional)

Conntrackd service name. Defaults to conntrackd.

service_manage (optional)

Whether we should manage the service runtime or not. Defaults to true.

service_ensure (optional)

Whether the resource is running or not. Valid values are running, stopped. Defaults to running.

service_enable (optional)

Whether the service is onboot enabled or not. Defaults to true.

You should define your configuration in Hiera. See the example below.

conntrackd::opts:
  "Sync":
    "Mode FTFW":
      "DisableExternalCache": false
      "CommitTimeout": 1800
      "PurgeTimeout": 5
    "UDP":
      "IPv4_address": "10.0.0.1"
      "IPv4_Destination_Address": "10.0.0.2"
      "Port": 3780
      "Interface": "eth2"
      "SndSocketBuffer": 1249280
      "RcvSocketBuffer": 1249280
      "Checksum": true
  "General":
    "Nice": -20
    "HashSize": 32768
    "HashLimit": 131072
    "LogFile": true
    "Syslog": true
    "LockFile": "/var/lock/conntrack.lock"
    "UNIX":
        "Path": "/var/run/conntrackd.ctl"
        "Backlog" 20
    "NetlinkBufferSize": 2097152
    "NetlinkBufferSizeMaxGrowth": 8388608
    "Filter From Userspace":
        "Protocol Accept":
          - TCP
          - UDP
          - ICMP
        "Address Ignore":
            "IPv4_address":
              - 127.0.0.1

Matteo Cerutti - [email protected]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.