Issue #21264 has been updated by Josh Cooper.

For windows, merged <https://github.com/puppetlabs/puppet-win32-ruby/pull/7> 
into 1.9.3 branch of puppet-win32-ruby.

----------------------------------------
Bug #21264: parser = future breaks executing functions as class defaults
https://projects.puppetlabs.com/issues/21264#change-93933

* Author: Bernhard Schmidt
* Status: Merged - Pending Release
* Priority: Normal
* Assignee: Andrew Parker
* Category: parser
* Target version: 3.2.3
* Affected Puppet version: 3.2.1
* Keywords: future_parser
* Branch: https://github.com/puppetlabs/puppet/pull/1724
----------------------------------------
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.


Reply via email to