Re: [Puppet Users] Re: My Array and Hash datatype getting treated as simple string.

2017-02-08 Thread Arun Kumar
simple variable and array elements are ${a} " : } # here $a in double quotes interpolates complete elements as one string On Wednesday, 8 February 2017 22:22:51 UTC+5:30, Peter Huene wrote: > > Hi Arun, > > On Feb 8, 2017 7:32 AM, "Arun Kumar" <r.arunk...@gmail.com

[Puppet Users] Re: My Array and Hash datatype getting treated as simple string.

2017-02-08 Thread Arun Kumar
m://share/share/dir1[1]/opt/share1 nfs defaults0 0 Expected: tail -1 /etc/fstab client.example.com:/share/dir1[1]/opt/share1 nfs defaults 0 0 On Sunday, 22 January 2017 22:35:51 UTC+5:30, Arun Kumar wrote: > > Hi Guys, > &

[Puppet Users] My Array and Hash datatype getting treated as simple string.

2017-01-22 Thread Arun Kumar
Hi Guys, I am very new to Puppet and installed 3.8. I tried creating template using array type variable but I got output as string. My sample code as below: init.pp --- $servers = ['facter', 'hiera', 'mco', 'puppet', 'puppetserver'], config.pp -- $servers =