Issue #15575 has been reported by Craig Dunn.
----------------------------------------
Bug #15575: Compile error overriding resource attributes using collection block
in ruby 1.9
https://projects.puppetlabs.com/issues/15575
Author: Craig Dunn
Status: Unreviewed
Priority: Normal
Assignee:
Category:
Target version:
Affected Puppet version:
Keywords:
Branch:
When compiling the following code:
<pre>
exec { 'testexec':
path => '/usr/local/bin:/usr/bin:/bin',
command => 'echo running test',
refreshonly => false,
}
Exec <| title == 'testexec' |> {
refreshonly => true,
}
</pre>
I get the following failure under Ruby 1.9
<pre>
Error: Puppet::Parser::Compiler failed with error ArgumentError: wrong number
of arguments (1 for 0) on node craigs-macbook-air.local
Error: Puppet::Parser::Compiler failed with error ArgumentError: wrong number
of arguments (1 for 0) on node craigs-macbook-air.local
</pre>
This works on Ruby 1.8.7 for Puppet 2.7.17 and 3.0 but fails for both on 1.9...
Tested on 1.9.2 and 1.9.3
--
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 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-bugs?hl=en.