Issue #2389 has been reported by Peter Meier.
----------------------------------------
Feature #2389: Support for hashes in puppet language
http://projects.reductivelabs.com/issues/2389
Author: Peter Meier
Status: Unreviewed
Priority: Normal
Assigned to:
Category: language
Target version: 0.25.0
Complexity: Unknown
Affected version: 0.25.0
Keywords:
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
-~----------~----~----~----~------~----~------~--~---