Issue #22557 has been updated by eric sorenson.

FWIW Patrick Carlisle and I scanned the forge corpus and found no other 
instances of 'name' being an array or an array-like variable name. (a variable 
ending in a plural noun)

The workaround is to use the array as the resource title. It's not really a 
workaround; that's the supported/documented way to achieve this. I'd favor not 
reverting the cause of this nor doing further work to support it, but to 
clearly error if it happens.

----------------------------------------
Bug #22557: Regression on arrays and puppet resources using the name attribute
https://projects.puppetlabs.com/issues/22557#change-98026

* Author: William Van Hevelingen
* Status: Needs More Information
* Priority: Normal
* Assignee: William Van Hevelingen
* Category: 
* Target version: 
* Affected Puppet version: 3.3.0
* Keywords: 
* Branch: 
----------------------------------------
Upgraded to Puppet 3.3.0 and started getting these errors.

Reporting broken for arrays on puppet resources using the name attribute.

<pre>
# puppet apply -e "package { 'nrpe': name => ['nagios-plugins', 
'nagios-nrpe-server'], ensure=>present } "
Notice: Compiled catalog for foo.lan in environment production in 1.72 seconds
Notice: /Stage[main]//Package[nrpe]/ensure: ensure changed 'purged' to 'present'
</pre>


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to