aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorCédric Jeanneret <cedric.jeanneret@camptocamp.com>2015-10-30 13:57:27 +0100
committerCédric Jeanneret <cedric.jeanneret@camptocamp.com>2015-11-02 08:26:43 +0100
commitca9bfad600ffaa0eb37533c9d86c9912ad35d833 (patch)
treed203cc17b4fa7e999661f5b662e63daacdc9f23f /README.md
parent3f54f2046f95841a47201b678928a7f436bf182c (diff)
downloadpuppet-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.md29
1 files changed, 29 insertions, 0 deletions
diff --git a/README.md b/README.md
index a5f323e..f083591 100644
--- a/README.md
+++ b/README.md
@@ -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