Re: [Puppet Users] Custom type and provider development

2013-03-08 Thread Josh Cooper
On Thu, Mar 7, 2013 at 6:42 PM, Nan Liu nan@gmail.com wrote: On Thu, Mar 7, 2013 at 1:38 PM, Nan Liu nan@gmail.com wrote: On Thu, Mar 7, 2013 at 8:47 AM, damian.folw...@gmail.com wrote: Hi, I'm very new to Ruby, and pretty new to Puppet so apologies if this is a bit Puppet custom

Re: [Puppet Users] Custom type and provider development

2013-03-08 Thread damian . folwell
Thanks Nan and Josh. Your help is much appreciated. Once I've finished first draft I'll upload to GitHub / Forge and ask for comments! -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop receiving emails

[Puppet Users] Custom type and provider development

2013-03-07 Thread damian . folwell
Hi, I'm very new to Ruby, and pretty new to Puppet so apologies if this is a bit Puppet custom type development 101. We currently have a whole bunch of Windows services that are written in .Net. They are really simple and so we don't bother creating MSI installs for them and just use

Re: [Puppet Users] Custom type and provider development

2013-03-07 Thread Jakov Sosic
On 03/07/2013 05:47 PM, damian.folw...@gmail.com wrote: My question is, in the provider code what is the best way to dynamically determine the installutil path? All of the examples i can find setting a command are not dynamic (i.e. the full command path is known without looking at parameter

Re: [Puppet Users] Custom type and provider development

2013-03-07 Thread Nan Liu
On Thu, Mar 7, 2013 at 8:47 AM, damian.folw...@gmail.com wrote: Hi, I'm very new to Ruby, and pretty new to Puppet so apologies if this is a bit Puppet custom type development 101. We currently have a whole bunch of Windows services that are written in .Net. They are really simple and so

Re: [Puppet Users] Custom type and provider development

2013-03-07 Thread Nan Liu
On Thu, Mar 7, 2013 at 1:38 PM, Nan Liu nan@gmail.com wrote: On Thu, Mar 7, 2013 at 8:47 AM, damian.folw...@gmail.com wrote: Hi, I'm very new to Ruby, and pretty new to Puppet so apologies if this is a bit Puppet custom type development 101. We currently have a whole bunch of Windows