Aw: Re: [Puppet Users] Problem with usage of arrays

2011-06-22 Thread elderdakkar
same problem here: puppet version is 2.6.1. That's the most recent version available in Ubuntu Maverick (10.10). Any chance, that a more recent version will be available in ubuntu maverick? greetings -- You received this message because you are subscribed to the Google Groups "Puppet Users"

Aw: Re: [Puppet Users] Problem with usage of arrays

2011-06-17 Thread Roband
http://projects.puppetlabs.com/issues/5127 Addressing array by index is not possible with Version 2.6.1 Unfortunately we can't update our puppet :-( Tahnk you all for your help. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this d

Aw: Re: [Puppet Users] Problem with usage of arrays

2011-06-17 Thread Roband
Hi, I tried notice { $callapidata[1]: } => Same Error: Could not retrieve catalog from remote server: Error 400 on SERVER: can't convert String into Integer at /etc/puppet/myenv/modules/uc4client/manifests/init.pp:41 on node testnode I use version 2.6.1 -- You received this message because

Re: [Puppet Users] Problem with usage of arrays

2011-06-16 Thread Ken Barber
What version of puppet are you using? kbarber:~ ken$ puppet --version 2.6.8 kbarber:~ ken$ puppet -e '$callapidata = [ 'wert1','wert2'] notice $callapidata[1]' notice: Scope(Class[main]): wert2 notice: Finished catalog run in 0.01 seconds kbarber:~ ken$ ken. On Thu, Jun 16, 2011 at 10:36 AM, Rob

Re: [Puppet Users] Problem with usage of arrays

2011-06-16 Thread Gabriel Filion
Talking a bit through my hat here.. but: On 11-06-16 05:36 AM, Roband wrote: > i can't use array in puppet. Here is my codesnipplet: > > $callapidata = [ 'wert1','wert2'] > notice $callapidata[1] try something like the following instead of the second line: notice { $callapidata[1]: } -- Gabri

[Puppet Users] Problem with usage of arrays

2011-06-16 Thread Roband
Hi there, i can't use array in puppet. Here is my codesnipplet: $callapidata = [ 'wert1','wert2'] notice $callapidata[1] A puppetrun results in: Could not retrieve catalog from remote server: Error 400 on SERVER: can't convert String into Integer at /etc/puppet/myenv/modules/ uc4client/manifest