On Wed, Mar 24, 2010 at 9:02 AM, Roy Nielsen <[email protected]> wrote:
> Hello Nigel,
>
> Yes, I'd prefer to have the ability to install a flat package integrated
> into the pkgdmg package provider.  I attached a patch to
> http://projects.reductivelabs.com/issues/3378 .

Excellent. I'll have a look at that.

Have you guys thought about improving the way the pkgdmg provider
decides whether or not a given package is installed?

The fundamental problem is that there's no intrinsic link between the
supplied URI and the package identifiers of any packages it provides,
and I've yet to come up with a solution better than the marker files
in /var/db/ :(

>
> The reason I went ahead and tried getting it working as a custom provider is
> that I really wanted to test the ability to have a custom provider, and have
> that as an example to write future custom providers.
>
> Thanks!
> -Roy
>
> On Wed, Mar 24, 2010 at 9:09 AM, Nigel Kersten <[email protected]> wrote:
>>
>> Roy, is the longer term plan to instead patch pkgdmg so it looks at
>> the url and treats anything ending in .pkg as a flat package?
>>
>> I think that was your plan from the bug report, and that feels like a
>> much better idea to me. We should be able to have the one provider
>> work with pkg.dmg and pkg
>>
>>
>> On Wed, Mar 24, 2010 at 8:07 AM, Luke Kanies <[email protected]>
>> wrote:
>> > On Mar 24, 2010, at 8:05 AM, Peter Meier wrote:
>> >
>> >>
>> >>> Puppet::Type.type(:package).provider(:flatpkg, :parent =>
>> >>> Puppet::Provider::Package) do
>> >>
>> >> assuming that this is line 25 and that all the other providers use
>> >> Puppet::Type.type(:package).provide (without an r) this might be the
>> >> cause?
>> >
>> > Nailed it.
>> >
>> > --
>> > My favorite was a professor at a University I Used To Be Associated
>> > With who claimed that our requirement of a non-alphabetic character in
>> > our passwords was an abridgement of his freedom of speech.
>> >    -- Jacob Haller
>> > ---------------------------------------------------------------------
>> > Luke Kanies  -|-   http://reductivelabs.com   -|-   +1(615)594-8199
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups
>> > "Puppet Developers" group.
>> > To post to this group, send email to [email protected].
>> > To unsubscribe from this group, send email to
>> > [email protected].
>> > For more options, visit this group at
>> > http://groups.google.com/group/puppet-dev?hl=en.
>> >
>> >
>>
>>
>>
>> --
>> nigel
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Puppet Developers" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/puppet-dev?hl=en.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Developers" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/puppet-dev?hl=en.
>



-- 
nigel

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to