summaryrefslogtreecommitdiffstats
path: root/schemas
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2013-12-10 20:58:55 -0500
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2013-12-11 10:51:54 -0500
commit94ba31279869d7052ba001e38927f9eecd0a636f (patch)
treed54894a50fbe4850996a3aa5fb254d6956cb92af /schemas
parent13fbef668878239dc5116f899a0c9791df81081e (diff)
downloadbcfg2-94ba31279869d7052ba001e38927f9eecd0a636f.tar.gz
bcfg2-94ba31279869d7052ba001e38927f9eecd0a636f.tar.bz2
bcfg2-94ba31279869d7052ba001e38927f9eecd0a636f.zip
Augeas improvements:
* Added ability to specify initial content for a file that doesn't exist, to avoid a messy situation where you'd have to probe for file existence and either use a Path type="file" or Path type="augeas" depending, and run Bcfg2 twice. * All commands in an Augeas path are run if *any* of them fail to verify. Previously, only commands that hadn't been run would be installed, but that had issues, particularly with the Clear command, which could pass verification but then be required during the installation phase anyway. * Miscellaneous bug fixes.
Diffstat (limited to 'schemas')
-rw-r--r--schemas/augeas.xsd9
1 files changed, 9 insertions, 0 deletions
diff --git a/schemas/augeas.xsd b/schemas/augeas.xsd
index 0ede106f3..df27f91cc 100644
--- a/schemas/augeas.xsd
+++ b/schemas/augeas.xsd
@@ -173,6 +173,15 @@
</xsd:documentation>
</xsd:annotation>
<xsd:choice>
+ <xsd:element name="Initial" type="xsd:string">
+ <xsd:annotation>
+ <xsd:documentation>
+ Specify initial content for a file, which will be created
+ before Augeas commands are applied if a file doesn't
+ exist.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
<xsd:element name="Remove" type="AugeasRemoveCommand">
<xsd:annotation>
<xsd:documentation>