Issue #2389 has been updated by Brice Figureau. Status changed from Code Insufficient to Ready for Testing Assigned to changed from Brice Figureau to Markus Roberts Branch set to brice:tickets/testing/2389
Hi, I rebased this patchset on top of luke:tickets/master/1943. Please merge it in testing (right after 1943 and before your future patch). The patch is in my github repository, branch: tickets/testing/2389. The patch doesn't introduce any new test failure (and doesn't fix any previous ones). Thanks, ---------------------------------------- Feature #2389: Support for hashes in puppet language http://projects.reductivelabs.com/issues/2389 Author: Peter Meier Status: Ready for Testing Priority: Normal Assigned to: Markus Roberts Category: language Target version: Rowlf Affected version: 0.25.0 Keywords: Branch: brice:tickets/testing/2389 The puppet language should support hashes, so it's possible to pass hashes to resources. For example: $interface1['ifname'] = 'eth0' $interface1['ip'] = '192.168.1.1' $interface2['ifname'] = 'eth1' $interface2['ip'] = '192.168.2.1' cobbler_system { foobar: ... interfaces => [ $interface1, $interface2 ] } it should also be possible to create hashes very easily: $interface1 = { ifname => 'eth0', ip => '192.168.1.1 } the proposed syntax should be seen as an example and can be tuned... -- 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://reductivelabs.com/redmine/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.
