Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Puppet module for managing network interfaces
Tree: 44d291ddf5

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
manifests
templates/sysconfig
LICENSE
README.markdown

README.markdown

Usage

node "server.domain.com" inherits basenode {
    # physical interface
    network::interface { "eth0":
        hostname => "server.domain.com",
        ipaddress => "1.2.3.4",
        gateway => "1.2.3.1",
        netmask => "255.255.255.0",
        network => "1.2.3.0",
        broadcast => "1.2.3.255",
        macaddress => "ff:ff:ff:ff:ff:ff",
        ensure => up
    }

    # aliased interface
    network::alias { "eth0:1":
        ipaddress => "1.2.3.5",
        netmask => "255.255.255.0",
        network => "1.2.3.0",
        broadcast => "1.2.3.255",
        ensure => up
    }
}

Miscellaneous Notes

Probably only works with RH-ish systems.

Something went wrong with that request. Please try again.