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 /templates/failover.conf.erb | |
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 'templates/failover.conf.erb')
-rw-r--r-- | templates/failover.conf.erb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/failover.conf.erb b/templates/failover.conf.erb new file mode 100644 index 0000000..3b9441f --- /dev/null +++ b/templates/failover.conf.erb @@ -0,0 +1,14 @@ +failover peer "<%=@name%>" { + <%=@role%>; + address <%=@address%>; + port <%=@port%>; + peer address <%=@peer_address%>; + peer port <%=@peer_port%>; +<%- + @options.sort.each do |k,v| +-%> + <%=k%> <%=v%>; +<%- +end +-%> +} |