summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--schemas/packages.xsd1
-rw-r--r--src/lib/Server/Plugins/Packages/Source.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/schemas/packages.xsd b/schemas/packages.xsd
index 6f471f3bf..59fa635c9 100644
--- a/schemas/packages.xsd
+++ b/schemas/packages.xsd
@@ -42,6 +42,7 @@
<xsd:attribute type="xsd:string" name="rawurl"/>
<xsd:attribute type="xsd:string" name="version"/>
<xsd:attribute type="xsd:integer" name="priority"/>
+ <xsd:attribute type="xsd:string" name="name"/>
</xsd:complexType>
<xsd:complexType name="groupType">
diff --git a/src/lib/Server/Plugins/Packages/Source.py b/src/lib/Server/Plugins/Packages/Source.py
index 0882c8f95..d94bcca14 100644
--- a/src/lib/Server/Plugins/Packages/Source.py
+++ b/src/lib/Server/Plugins/Packages/Source.py
@@ -74,6 +74,7 @@ class Source(Bcfg2.Server.Plugin.Debuggable):
self.url += "/"
self.version = xsource.get('version', '')
self.priority = xsource.get('priority', 500)
+ self.name = xsource.get('name', '')
# build the set of conditions to see if this source applies to
# a given set of metadata