Issue #21264 has been reported by Bernhard Schmidt.
----------------------------------------
Bug #21264: parser = future breaks executing functions as class defaults
https://projects.puppetlabs.com/issues/21264
* Author: Bernhard Schmidt
* Status: Unreviewed
* Priority: Normal
* Assignee:
* Category: parser
* Target version:
* Affected Puppet version: 3.2.1
* Keywords:
* Branch:
----------------------------------------
This (from bschmidt/puppetclient on Puppetforge) works in Puppet 3.2.1 with the
old parser, but fails with the new one. I cannot find anything in the docs that
this would be illegal.
class puppetclient (
$cronminutes = [fqdn_rand(29),fqdn_rand(29)+30], # Run every 30
minutes
) {
...
}
results in
can't convert Array to String (Array#to_str gives Array) at
/etc/puppet/environments/production/modules/puppetclient/manifests/init.pp:5
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.