Browse Source

[3259] Update .spec files with new hooks-libraries syntax

Stephen Morris 9 years ago
parent
commit
9f158bae40
2 changed files with 18 additions and 6 deletions
  1. 9 3
      src/bin/dhcp4/dhcp4.spec
  2. 9 3
      src/bin/dhcp6/dhcp6.spec

+ 9 - 3
src/bin/dhcp4/dhcp4.spec

@@ -10,10 +10,16 @@
         "item_default": [],
         "list_item_spec":
         {
-          "item_name": "hooks-library",
-          "item_type": "string",
+          "item_name": "hooks-library-spec",
+          "item_type": "map",
           "item_optional": false,
-          "item_default": ""
+          "map_item_spec": [
+             {
+                "item_name": "library",
+                "item_type": "string"
+                "item_optional": false
+             }
+          ]
         }
       },
 

+ 9 - 3
src/bin/dhcp6/dhcp6.spec

@@ -10,10 +10,16 @@
         "item_default": [],
         "list_item_spec":
         {
-          "item_name": "hooks-library",
-          "item_type": "string",
+          "item_name": "hooks-library-spec",
+          "item_type": "map",
           "item_optional": false,
-          "item_default": ""
+          "map_item_spec": [
+             {
+                "item_name": "library",
+                "item_type": "string"
+                "item_optional": false
+             }
+          ]
         }
       },