blob: 33810b8e181226786ab1dd092249c7adcc029ef1 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#### dhcp::shared_network <%= @name %>
shared-network <%= @name %> {
<% @subnets.each do |subnet|
scope.function_validate_string([subnet])
scope.function_validate_re([subnet, '^([1-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\.([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])){3}$'])
-%>
include "<%= scope.lookupvar("dhcp::params::config_dir") %>/subnets/<%= subnet %>.conf";
<% end -%>
}
#### END <%= @name %>
|