summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-09-15 03:27:18 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-09-15 03:27:18 +0000
commit4897995e4cbe4ec3e452de50404799cfc27ed90b (patch)
treea8d68d16f92f6d4ef5d89851d4e2374fc8a46704 /lib
parent6bb4814ec66f2cb09381a1bc0fa30f9c85d47443 (diff)
downloadpuppet-4897995e4cbe4ec3e452de50404799cfc27ed90b.tar.gz
puppet-4897995e4cbe4ec3e452de50404799cfc27ed90b.tar.xz
puppet-4897995e4cbe4ec3e452de50404799cfc27ed90b.zip
Fixing the "Adding aliases" message, so it is clear when an alias with spaces in it is used
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1600 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib')
-rw-r--r--lib/puppet/type.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/puppet/type.rb b/lib/puppet/type.rb
index 19a77b4bc..9b68d9f5f 100644
--- a/lib/puppet/type.rb
+++ b/lib/puppet/type.rb
@@ -2530,7 +2530,9 @@ class Type < Puppet::Element
unless aliases.is_a?(Array)
aliases = [aliases]
end
- @parent.info "Adding aliases %s" % aliases.join(", ")
+ @parent.info "Adding aliases %s" % aliases.collect { |a|
+ a.inspect
+ }.join(", ")
aliases.each do |other|
if obj = @parent.class[other]
unless obj == @parent