Puppet: System Administration Automated

Support

Ticket #988 (closed enhancement: wontfix)

Opened 11 months ago

Last modified 7 months ago

XML information as a native or plugin type

Reported by: xwaver Assigned to: luke
Priority: low Milestone: unplanned
Component: newfeature Version:
Severity: minor Keywords:
Cc: Triage Stage: Needs design decision
Attached Patches: None Complexity: Hard

Description

As many system configurations increasingly use XML to store information in configuration files, Puppet should have this capability as well. Since XML should be malleable by Ruby, this should not require external applications.

Possible (!) Syntax:

given in example.xml

<foobar id="foo">
  <bar/>
  <barfoo>foobar</barfoo>
  <baz>
    <bom a="1"/>
  </baz>
  <bom a="2"/>
</foobar>

manipulated by type

xml { "/foobar/1":
    file => "example.xml",
    value => "bar",
    ensure => present;

    file => "example.xml",
    xpointer => "/1/2/1",
    value    => "bom (a=1)",
    ensure   => present;
}

Change History

01/06/08 05:16:26 changed by jamtur01

  • severity changed from normal to minor.
  • priority changed from normal to low.
  • complexity changed from Unknown to Hard.
  • milestone set to unplanned.
  • owner changed from community to luke.
  • stage changed from Unreviewed to Needs design decision.

04/24/08 08:03:16 changed by luke

  • status changed from new to closed.
  • resolution set to wontfix.
  • component changed from library to unknown.

This would only ever work if you had a schema specified, since Puppet needs some kind of validation to know whether a given property is valid. As such, I don't think this is all that possible.

04/28/08 16:33:12 changed by jamtur01

  • component changed from unknown to newfeature.