summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2005-07-12 15:05:34 +0000
committerLuke Kanies <luke@madstop.com>2005-07-12 15:05:34 +0000
commit96c37e3bd2bf0c67fd75376ea63b15a73b1c372b (patch)
tree6684131ab425c470c1d784eccfe6f1e782d6caa9
parente97e2d9f7b26aa55b608342bd47efc7fd8ed09f9 (diff)
downloadpuppet-96c37e3bd2bf0c67fd75376ea63b15a73b1c372b.tar.gz
puppet-96c37e3bd2bf0c67fd75376ea63b15a73b1c372b.tar.xz
puppet-96c37e3bd2bf0c67fd75376ea63b15a73b1c372b.zip
using old name method, since it is required to make names unique given how classes currently work
git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@382 980ebf18-57e1-0310-9a29-db15c13687c0
-rw-r--r--lib/puppet/type/component.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/type/component.rb b/lib/puppet/type/component.rb
index bb7b57433..cba4ea9d4 100644
--- a/lib/puppet/type/component.rb
+++ b/lib/puppet/type/component.rb
@@ -55,8 +55,8 @@ Component
end
def name
- return self[:name]
- #return "%s[%s]" % [self[:type],self[:name]]
+ #return self[:name]
+ return "%s[%s]" % [self[:type],self[:name]]
end
def push(*ary)