summaryrefslogtreecommitdiffstats
path: root/src/sbin/bcfg2-repo-validate
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2006-07-10 21:27:47 +0000
committerNarayan Desai <desai@mcs.anl.gov>2006-07-10 21:27:47 +0000
commit8ea40c8c26141f1a5e36c9a98b451bd1599c2e5c (patch)
tree8b50bed6a3df4bd5fd968860584206c69a30db60 /src/sbin/bcfg2-repo-validate
parenta50f44d85caefe94a0e15dd5b24232c8af29440c (diff)
downloadbcfg2-8ea40c8c26141f1a5e36c9a98b451bd1599c2e5c.tar.gz
bcfg2-8ea40c8c26141f1a5e36c9a98b451bd1599c2e5c.tar.bz2
bcfg2-8ea40c8c26141f1a5e36c9a98b451bd1599c2e5c.zip
Add basic dependency processing code
* To enable, add a Deps directory and enable the Deps plugin * schema validation works * prerequisites are automatically added to configurations git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1924 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/sbin/bcfg2-repo-validate')
-rw-r--r--src/sbin/bcfg2-repo-validate3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sbin/bcfg2-repo-validate b/src/sbin/bcfg2-repo-validate
index 2ec7a20b4..360dbf45f 100644
--- a/src/sbin/bcfg2-repo-validate
+++ b/src/sbin/bcfg2-repo-validate
@@ -31,7 +31,8 @@ if __name__ == '__main__':
'base':("%s/Base/*.xml", "%s/base.xsd"),
'base':("%s/Rules/*.xml", "%s/rules.xsd"),
'imageinfo':("%s/etc/reports.xml", "%s/report-configuration.xsd"),
- 'services':("%s/Svcmgr/*.xml", "%s/services.xsd")}
+ 'services':("%s/Svcmgr/*.xml", "%s/services.xsd"),
+ 'deps':("%s/Deps/*.xml", "%s/deps.xsd")}
failures = 0
for k, (spec, schemaname) in filesets.iteritems():