diff options
author | David Lutterkort <lutter@redhat.com> | 2009-05-30 22:43:55 -0700 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2009-06-03 23:34:51 +1000 |
commit | 7c5125bb6dec630d2509905e3c202e0dfe59d959 (patch) | |
tree | f297ee552f018e3514b53def3e2e2ba66cc5a9c6 /lib/puppet/util/rdoc/code_objects.rb | |
parent | 6ce81546ccfab2aefbec7fced5c38226bdd83297 (diff) | |
download | puppet-7c5125bb6dec630d2509905e3c202e0dfe59d959.tar.gz puppet-7c5125bb6dec630d2509905e3c202e0dfe59d959.tar.xz puppet-7c5125bb6dec630d2509905e3c202e0dfe59d959.zip |
Brought in lutters parse_commands patch and integrated it into the type.
This includes reworking the get and match commands as well. This change
introduces a few small changes. These are:
1) There can be no ' or " characters around path elements.
2) The context is now only prepended to relative paths. So, if a
path is specified as /foo/bar the context will not be appended. It
will only be appended if it is foo/bar
3) The syntax for array matching in the onlyif is now eq or noteq.
It was == before.
4) The get and set commnands used to concatenate all items at the end
of a string so "set path to some value" would be interpreted as
"set" "path" "to some value". This is no longer supported. The caller
must put ' or " around the "to some value" for it to work"
Cherry-pick of 9a2642 from 0.24.x
Conflicts:
lib/puppet/provider/augeas/augeas.rb
Diffstat (limited to 'lib/puppet/util/rdoc/code_objects.rb')
0 files changed, 0 insertions, 0 deletions