The branch, 0.25.x has been updated
via ca56aa7e5849a5489e8d38e29b25ea934caafcd7 (commit)
from adc0a4ed939a717e8735485d493bde28ceab5ac0 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit ca56aa7e5849a5489e8d38e29b25ea934caafcd7
Author: Markus Roberts <Mar...@reality.com>
Date: Mon Oct 26 23:09:07 2009 -0700
Least kludgy patch for #2675
This makes parameters responsible for the canonicalization of their values and
provides a default (passthrough) implementation. It changes munge to pre-
canonicalize the value and resource references to builtin types to canonicalize
titles (which map to resorce namevars) with the corresponding parameter's
classes's canonicalization.
It adds a canonicalization routine to file paths that normalizes the behaviour
(trailing slashes are ignored) and DRYs up the related code.
Signed-off-by: Markus Roberts <Mar...@reality.com>
-----------------------------------------------------------------------
Summary of changes:
lib/puppet/parameter.rb | 18 ++++++++++++++++-
lib/puppet/resource/catalog.rb | 2 +-
lib/puppet/resource/reference.rb | 34 ++++++++-----------------------
lib/puppet/type.rb | 17 +++++++++++----
lib/puppet/type/file.rb | 12 ++++++----
lib/puppet/util/methodhelper.rb | 7 ++---
spec/unit/parser/resource/reference.rb | 7 +++++-
spec/unit/property.rb | 6 +++++
spec/unit/type/resources.rb | 2 +-
9 files changed, 62 insertions(+), 43 deletions(-)
hooks/post-receive
--
Puppet - System Automation