aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/shared-network.erb7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/shared-network.erb b/templates/shared-network.erb
new file mode 100644
index 0000000..99a7aca
--- /dev/null
+++ b/templates/shared-network.erb
@@ -0,0 +1,7 @@
+#### dhcp::shared-network <%= name %>
+shared-network <%= name %> {
+<% subnets.each do |subnet| -%>
+ include "<%= scope.lookupvar("dhcp::params::config_dir") %>/subnets/<%= subnet %>.conf";
+<% end -%>
+}
+#### END <%= name %>