diff options
author | Cédric Jeanneret <cedric.jeanneret@camptocamp.com> | 2015-10-30 13:57:27 +0100 |
---|---|---|
committer | Cédric Jeanneret <cedric.jeanneret@camptocamp.com> | 2015-11-02 08:26:43 +0100 |
commit | ca9bfad600ffaa0eb37533c9d86c9912ad35d833 (patch) | |
tree | d203cc17b4fa7e999661f5b662e63daacdc9f23f /README.md | |
parent | 3f54f2046f95841a47201b678928a7f436bf182c (diff) | |
download | puppet-dhcp-ca9bfad600ffaa0eb37533c9d86c9912ad35d833.tar.gz puppet-dhcp-ca9bfad600ffaa0eb37533c9d86c9912ad35d833.tar.bz2 |
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 |