]> git.openstreetmap.org Git - chef.git/commitdiff
Enable DHCP server on jakelong
authorTom Hughes <tom@compton.nu>
Wed, 13 Oct 2021 16:47:06 +0000 (17:47 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 13 Oct 2021 16:47:06 +0000 (17:47 +0100)
roles/jakelong.rb

index 33c6938f24d92ca4c68089b4d72d3b501d85de89..b346657e5c4dd1edd2aefe5fb9c331dde8c6dde4 100644 (file)
@@ -2,6 +2,10 @@ name "jakelong"
 description "Master role applied to jakelong"
 
 default_attributes(
+  :dhcpd => {
+    :first_address => "10.0.78.1",
+    :last_address => "10.0.78.254"
+  },
   :networking => {
     :interfaces => {
       :internal_ipv4 => {
@@ -34,5 +38,6 @@ default_attributes(
 
 run_list(
   "role[equinix-dub]",
-  "role[hp-dl360e-g8]"
+  "role[hp-dl360e-g8]",
+  "recipe[dhcpd]"
 )