[Pkg-puppet-devel] [facter] 77/180: (fact-233) Add json schema validation for the new 'dhcp_servers' fact.

Stig Sandbeck Mathisen ssm at debian.org
Mon Jun 30 15:06:33 UTC 2014


This is an automated email from the git hooks/post-receive script.

ssm pushed a commit to branch master
in repository facter.

commit 9463d50254b6fc4fe4fa1f26a78ba928ff36ba97
Author: Kylo Ginsberg <kylo at puppetlabs.com>
Date:   Mon May 5 13:01:54 2014 -0700

    (fact-233) Add json schema validation for the new 'dhcp_servers' fact.
---
 schema/facter.json | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/schema/facter.json b/schema/facter.json
index ddf9191..42f6e63 100644
--- a/schema/facter.json
+++ b/schema/facter.json
@@ -38,6 +38,11 @@
         "boardproductname" : { "type": "string" },
         "boardserialnumber" : { "type": "string" },
         "cfkey" : { "type": "string" },
+        "dhcp_servers" : { "type": "object",
+            "patternProperties": {
+                "^[A-Za-z0-9_]+$" : { "$ref" : "#/definitions/ipaddress" }
+            }
+        },
         "domain" : { "type": "string" },
         "facterversion" : { "type": "string" },
         "filesystems" : { "type": "string" },

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-puppet/facter.git



More information about the Pkg-puppet-devel mailing list