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

2017-02-08 Thread Arun Kumar
Hi Peter, Thanks, it worked and i got the expected result i.e client.example.com:/share/dir1 after using {}. I have one more doubt how to interpolate a simple variable along with arrays eg: $var="simple string" $arr=[ "1","2"] notify { " $var is an simple variable and array elements

[Puppet Users] Hiera 5 calling_class

2017-02-08 Thread Ben Hines
Perhaps this is just a bug, but does %{calling_class} function with Hiera 5? I haven't been able to get it to function. Perhaps it has a new syntax? Notice it's blank: ==> test: Hierarchy entry "calling_class" ==> test: Path

[Puppet Users] mco triggered automatic deployments. Effected production/Staging Servers.

2017-02-08 Thread pradeep reddy
Hi All, We are using a ruby script, which uses mcollective API for initiating the puppet run on multiple servers based on the group and track its status. It used to do the rolling deployment or in other words initiate puppet agent on the servers. We are using from three years same setup.

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

2017-02-08 Thread Peter Huene
Hi Arun, On Feb 8, 2017 7:32 AM, "Arun Kumar" wrote: Hi Henrik, I have a requirement where i need to interpolate facter and an array element. Facters are interpolated in double quotes and array elements inside it is getting treated as a one single string. So could you

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

2017-02-08 Thread Arun Kumar
Hi Henrik, I have a requirement where i need to interpolate facter and an array element. Facters are interpolated in double quotes and array elements inside it is getting treated as a one single string. So could you advise on this? $dir=["/share","/share/dir1"] mount { /opt/share1 :

[Puppet Users] Re: [Puppet-dev] Re: Draft for new type and provider API

2017-02-08 Thread David Schmitt
On 7 February 2017 at 17:13, jcbollinger wrote: > > > On Tuesday, January 31, 2017 at 10:04:27 AM UTC-6, David Schmitt wrote: >> >> >> The type and provider API has been the bane of my existence since I >> [started writing native resources](https://github.com/ >>