[Puppet Users] Associative Arrays/Hash

2008-12-16 Thread henrymolina
Hi all, are there a way to define a associative array/Hash? example: $host = [{ :name => 'host1', :ip => '192.168.10.1' }, { :name => 'host2', :ip => '192.168.10.2' }] Regards --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goo

[Puppet Users] Associative Arrays/Hash

2008-12-16 Thread henrymolina
Hi All, Are there a way to use Associative Arrays/Hash variables? $var = [{:name => 'host1', :ip => '192.168.10.11' },{:name => 'host2', :ip => '192.168.10.12' }] Regards --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gr