diff options
author | Jeanneret Cedric <contact@internux.ch> | 2015-11-02 08:33:09 +0100 |
---|---|---|
committer | Jeanneret Cedric <contact@internux.ch> | 2015-11-02 08:33:09 +0100 |
commit | 701cb43c43ab52eb8d43261494c817436e24ca53 (patch) | |
tree | d203cc17b4fa7e999661f5b662e63daacdc9f23f /README.md | |
parent | 3f54f2046f95841a47201b678928a7f436bf182c (diff) | |
parent | ca9bfad600ffaa0eb37533c9d86c9912ad35d833 (diff) | |
download | puppet-dhcp-701cb43c43ab52eb8d43261494c817436e24ca53.tar.gz puppet-dhcp-701cb43c43ab52eb8d43261494c817436e24ca53.tar.bz2 |
Merge pull request #15 from camptocamp/dhcp-failover
added new dhcp::failover, related unit-test and updated doc
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 29 |
1 files changed, 29 insertions, 0 deletions
@@ -32,6 +32,7 @@ Installs a DHCP server: * dhcp::hosts * dhcp::shared\_network * dhcp::subnet +* dhcp::failover ### dhcp::hosts @@ -74,6 +75,34 @@ Creates a subnet: other_opts => ['filename "pxelinux.0";', 'next-server 10.27.10.1;'], } +## dhcp::failover + +Creates a failover peer: + + dhcp::failover {'my-failover-peer': + ensure => present, + peer_address => '1.2.3.4', + options => { + 'max-response-delay' => 30, + 'max-unacked-updates' => 10, + 'load balance max seconds' => 3, + 'mclt' => 1800, + 'split' => 128, + } + } + dhcp::subnet {"10.27.20.0": + ensure => present, + broadcast => "10.27.20.255", + other_opts => [ + 'pool {', + 'failover peer "my-failover-peer";', + 'max-lease-time 1800;', + 'range 10.27.20.100 10.27.20.250;', + '}', + ], + } + + ## Contributing Please report bugs and feature request using [GitHub issue |