diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-02-16 00:46:59 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-02-16 00:46:59 +0000 |
| commit | 89702d8bac6ddbf1a1dde50a7fbcc2143d5afa5e (patch) | |
| tree | 924f759f330441420324ace2a2d462352db95aef /lib | |
| parent | 7d15fe1aed9a0cd57ecc6953da7f4e61f1dcc3ba (diff) | |
| download | puppet-89702d8bac6ddbf1a1dde50a7fbcc2143d5afa5e.tar.gz puppet-89702d8bac6ddbf1a1dde50a7fbcc2143d5afa5e.tar.xz puppet-89702d8bac6ddbf1a1dde50a7fbcc2143d5afa5e.zip | |
Fixing symbolic naming bug where symbolic names were being ignored in some cases
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@918 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/puppet/type.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/puppet/type.rb b/lib/puppet/type.rb index 9469d8b0a..07bd7f74a 100644 --- a/lib/puppet/type.rb +++ b/lib/puppet/type.rb @@ -1096,6 +1096,8 @@ class Type < Puppet::Element end name = hash.name + Puppet.warning "creating %s with name %s" % [self.name, name] + # if the object already exists if self.isomorphic? and retobj = self[name] # if only one of our objects is implicit, then it's easy to see @@ -1165,6 +1167,7 @@ class Type < Puppet::Element if hash.include? param name = hash[param] hash.delete(param) + break end } unless name |
