diff options
author | Cédric Jeanneret <cedric.jeanneret@camptocamp.com> | 2010-11-04 14:02:31 +0100 |
---|---|---|
committer | Cédric Jeanneret <cedric.jeanneret@camptocamp.com> | 2010-11-04 14:02:31 +0100 |
commit | 68b0642c21a598b6f5aecfedd38cc1584737fbec (patch) | |
tree | fdbedfe6246b9bb467fe125097ccaf36abf4c892 /templates/host.conf.erb | |
download | puppet-dhcp-68b0642c21a598b6f5aecfedd38cc1584737fbec.tar.gz puppet-dhcp-68b0642c21a598b6f5aecfedd38cc1584737fbec.tar.bz2 |
New module: dhcp
Install and manage a dhcp server with puppet.
Please read manifests/classes/dhcp.pp for more informations about usage.
Diffstat (limited to 'templates/host.conf.erb')
-rw-r--r-- | templates/host.conf.erb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/host.conf.erb b/templates/host.conf.erb new file mode 100644 index 0000000..2cdb4af --- /dev/null +++ b/templates/host.conf.erb @@ -0,0 +1,8 @@ +host <%=name%> { + hardware ethernet <%=mac%>; +<% if fixed_address -%> + fixed-address <%=fixed_address%>; +<% else -%> + fixed-address <%=name%>; +<% end -%> +} |