zpatten/cucumber-chef

View on GitHub
chef_repo/cookbooks/cucumber-chef/templates/default/dhcpd-conf.erb

Summary

Maintainability
Test Coverage
#
# WARNING: Automatically generated file; DO NOT EDIT!
# Cucumber-Chef v<%= node["cucumber_chef"]["version"] %> DHCPD Configuration
# Generated on <%= Time.now.utc.to_s %>
#

log-facility local7;
authoritative;

ddns-updates on;
ddns-update-style interim;
ddns-domainname "test-lab.";
ddns-rev-domainname "in-addr.arpa.";
ignore client-updates;
update-static-leases on;
update-conflict-detection false;

default-lease-time 600;
max-lease-time 7200;

pid-file-name "/var/run/dhcp-server/dhcpd.pid";
include "/etc/bind/rndc.key";

zone 168.192.in-addr.arpa. {
  primary 127.0.0.1;
  key "rndc-key";
}

zone test-lab. {
  primary 127.0.0.1;
  key "rndc-key";
}

subnet 192.168.0.0 netmask 255.255.0.0 {
  option routers 192.168.255.254;
  option subnet-mask 255.255.0.0;
  option broadcast-address 192.168.255.255;
  option domain-name-servers 192.168.255.254, 8.8.8.8, 8.8.4.4;
  option ntp-servers 192.168.255.254;

  range 192.168.255.1 192.168.255.100;
}

include "/etc/dhcp/test-lab.conf";