I'd like to reuse the same ruby code in a type across all the providers.
For the type I'm writing, a certain portion of the "exists?" method would
be repeated across all providers. From looking at the documentation,
http://docs.puppetlabs.com/guides/custom_types.html, it's not quite clear
how I
On Tue, Jul 17, 2012 at 8:34 AM, ZJE wrote:
> I'd like to reuse the same ruby code in a type across all the providers. For
> the type I'm writing, a certain portion of the "exists?" method would be
> repeated across all providers. From looking at the documentation,
> http://docs.puppetlabs.com/gui
On Tue, Jul 17, 2012 at 9:49 AM, Nan Liu wrote:
> On Tue, Jul 17, 2012 at 8:34 AM, ZJE wrote:
> > I'd like to reuse the same ruby code in a type across all the providers.
> For
> > the type I'm writing, a certain portion of the "exists?" method would be
> > repeated across all providers. From lo
On Tuesday, July 17, 2012 12:29:52 PM UTC-5, Jeff McCune wrote:
>
> On Tue, Jul 17, 2012 at 9:49 AM, Nan Liu <> wrote:
>
>> On Tue, Jul 17, 2012 at 8:34 AM, ZJE <> wrote:
>> > I'd like to reuse the same ruby code in a type across all the
>> providers. For
>> > the type I'm writing, a certain port
On Tuesday, July 17, 2012 2:02:10 PM UTC-5, ZJE wrote:
>
>
> On Tuesday, July 17, 2012 12:29:52 PM UTC-5, Jeff McCune wrote:
>>
>> On Tue, Jul 17, 2012 at 9:49 AM, Nan Liu <> wrote:
>>
>>> On Tue, Jul 17, 2012 at 8:34 AM, ZJE <> wrote:
>>> > I'd like to reuse the same ruby code in a type across al
On Tuesday, July 17, 2012 2:29:55 PM UTC-5, ZJE wrote:
>
>
> On Tuesday, July 17, 2012 2:02:10 PM UTC-5, ZJE wrote:
>>
>>
>> On Tuesday, July 17, 2012 12:29:52 PM UTC-5, Jeff McCune wrote:
>>>
>>> On Tue, Jul 17, 2012 at 9:49 AM, Nan Liu <> wrote:
>>>
On Tue, Jul 17, 2012 at 8:34 AM, ZJE <>
On Tue, Jul 24, 2012 at 9:54 AM, ZJE wrote:
> I'm still a little confused - is there an example of a type/provider where
> this is done correctly?
> Thanks!
>
Not that I know of. You could be the first! =)
What's confusing you?
As a basic example, here is the initial change set that migrates
On Wednesday, July 25, 2012 9:57:20 AM UTC-5, Jeff McCune wrote:
>
> On Tue, Jul 24, 2012 at 9:54 AM, ZJE wrote:
>
>> I'm still a little confused - is there an example of a type/provider
>> where this is done correctly?
>> Thanks!
>>
>
> Not that I know of. You could be the first! =)
>
> What's