You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have started to use this cookbook and I can generate all my configs but when Chef tries to restart ISC-DHCP-Server on Debian I see this error:
Dec 06 10:03:07 isc-dhcp-server[26717]: /etc/dhcp/dhcpd.conf line 33: /etc/dhcp/shared_networks.d/vlan20_stack4.conf: bad parse. Dec 06 10:03:07 isc-dhcp-server[26717]: include /etc/dhcp/shared_networks.d/vlan20_stack4.conf"
In dhcp.conf I have: include "/etc/dhcp/shared_networks.d/vlan20_stack4.conf";
If this is still an issue please reopen or open another issue. Alternatively drop by the #sous-chefs channel on the Chef Community Slack and we'll be happy to help!
Hi all,
I have started to use this cookbook and I can generate all my configs but when Chef tries to restart ISC-DHCP-Server on Debian I see this error:
Dec 06 10:03:07 isc-dhcp-server[26717]: /etc/dhcp/dhcpd.conf line 33: /etc/dhcp/shared_networks.d/vlan20_stack4.conf: bad parse.
Dec 06 10:03:07 isc-dhcp-server[26717]: include /etc/dhcp/shared_networks.d/vlan20_stack4.conf"
In dhcp.conf I have:
include "/etc/dhcp/shared_networks.d/vlan20_stack4.conf";
and in this file I have normal config like:
shared-network vlan20_stack4 { subnet 10.11.1.0 netmask 255.255.254.0 { pool { range 10.11.1.100 10.11.2.254; } option subnet-mask 255.255.254.0; option default-lease-time 86400; option deny unknown-clients; option max-lease-time 604800; option ntp-servers 10.10.0.1; option routers 10.11.98.1; } }
I use Jessie and last stable version of DHCP Server. I'm not using data_bags for networks etc. I have everything in my cookbook/recipes/default.rb
Thank you for any suggestions why is like that.
Best,
Rafal
The text was updated successfully, but these errors were encountered: