diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2008-03-09 15:44:11 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2008-03-09 15:44:11 +0000 |
commit | 9f5e36f66b34988caa6459663a422c4379676a3b (patch) | |
tree | a3d8dad1f7afd83d1dfb47a2b00c7bf3b3357e3b | |
parent | 14ebcbeb4a5076f8b7a5484115246e7ab30c6517 (diff) | |
download | bcfg2-9f5e36f66b34988caa6459663a422c4379676a3b.tar.gz bcfg2-9f5e36f66b34988caa6459663a422c4379676a3b.tar.bz2 bcfg2-9f5e36f66b34988caa6459663a422c4379676a3b.zip |
deprecate PostInstalls (in schemas and Core.py) -- Actions can be used instead
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4408 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r-- | schemas/bundle.xsd | 2 | ||||
-rw-r--r-- | schemas/deps.xsd | 3 | ||||
-rw-r--r-- | src/lib/Server/Core.py | 2 |
3 files changed, 1 insertions, 6 deletions
diff --git a/schemas/bundle.xsd b/schemas/bundle.xsd index 64963ffa9..323a640f1 100644 --- a/schemas/bundle.xsd +++ b/schemas/bundle.xsd @@ -17,7 +17,6 @@ <xsd:element name='Directory' type='StructureEntry'/> <xsd:element name='SymLink' type='StructureEntry'/> <xsd:element name='Permissions' type='StructureEntry'/> - <xsd:element name='PostInstall' type='StructureEntry'/> <xsd:element name='Action' type='StructureEntry'/> <xsd:element name='Group' type='GroupType'/> </xsd:choice> @@ -34,7 +33,6 @@ <xsd:element name='Directory' type='StructureEntry'/> <xsd:element name='SymLink' type='StructureEntry'/> <xsd:element name='Permissions' type='StructureEntry'/> - <xsd:element name='PostInstall' type='StructureEntry'/> <xsd:element name='Action' type='StructureEntry'/> <xsd:element name='Group' type='GroupType'/> </xsd:choice> diff --git a/schemas/deps.xsd b/schemas/deps.xsd index 19ec5af2d..5b47af133 100644 --- a/schemas/deps.xsd +++ b/schemas/deps.xsd @@ -15,7 +15,6 @@ <xsd:element name='Directory' type='StructureEntry'/> <xsd:element name='SymLink' type='StructureEntry'/> <xsd:element name='Permissions' type='StructureEntry'/> - <xsd:element name='PostInstall' type='StructureEntry'/> </xsd:choice> <xsd:attribute type='xsd:string' name='name' use='required'/> </xsd:complexType> @@ -28,7 +27,6 @@ <xsd:element name='Directory' type='StructureEntry'/> <xsd:element name='SymLink' type='StructureEntry'/> <xsd:element name='Permissions' type='StructureEntry'/> - <xsd:element name='PostInstall' type='StructureEntry'/> <xsd:element name='Group' type='GroupType'/> </xsd:choice> <xsd:attribute type='xsd:string' name='name' use='required'/> @@ -43,7 +41,6 @@ <xsd:element name='Directory' type='StructureEntry'/> <xsd:element name='SymLink' type='StructureEntry'/> <xsd:element name='Permission' type='StructureEntry'/> - <xsd:element name='PostInstall' type='StructureEntry'/> <xsd:element name='Group' type='GroupType'/> </xsd:choice> <xsd:attribute type='xsd:string' name='priority' use='required'/> diff --git a/src/lib/Server/Core.py b/src/lib/Server/Core.py index 799642640..a0be13313 100644 --- a/src/lib/Server/Core.py +++ b/src/lib/Server/Core.py @@ -265,7 +265,7 @@ class Core(object): def BindStructure(self, structure, metadata): '''Bind a complete structure''' - for entry in [child for child in structure.getchildren() if child.tag not in ['PostInstall']]: + for entry in structure.getchildren(): try: self.Bind(entry, metadata) except PluginExecutionError: |