It looks like something got lost during transition to host_aliases.
---
lib/puppet/provider/host/parsed.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/puppet/provider/host/parsed.rb
b/lib/puppet/provider/host/parsed.rb
index 56caf8b..f3e7630 100644
--- a/lib/puppet/provider/host/parsed.rb
+++ b/lib/puppet/provider/host/parsed.rb
@@ -59,7 +59,7 @@ Puppet::Type.type(:host).provide(:parsed,
str = "%s\t%s" % [hash[:ip], hash[:name]]
if hash.include? :host_aliases
- if hash[:alias].is_a? Array
+ if hash[:host_aliases].is_a? Array
str += "\t%s" % hash[:host_aliases].join("\t")
else
raise ArgumentError, "Host aliases must be specified as an
array"
--
1.6.3.3
--
You received this message because you are subscribed to the Google Groups
"Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-dev?hl=en.