On Wed, Sep 19, 2012 at 1:30 PM, Andy Parker <[email protected]> wrote:
> On Tue, Sep 18, 2012 at 4:26 PM, Philip Brown <[email protected]> wrote:
>> puppet  resource --debug package gnu-patch provider=pkg_test
>>...
>> You will then see debug output by practically all other package providers.
>>
>
> Could you provide that debug output. I'm at a loss for what is happening now.


okies.
This is actually from a "standard" machine without pkg_test, so
command line I used is
puppet  resource --debug package gnu-patch provider=pkg >/tmp/output 2>&1
Excerpt from output:

# more /tmp/output
debug: Puppet::Type::Package::ProviderPortupgrade: file /usr/local/sbin/portupgr
ade does not exist
debug: Puppet::Type::Package::ProviderUp2date: file /usr/sbin/up2date-nox does n
ot exist
debug: Puppet::Type::Package::ProviderPacman: file /usr/bin/pacman does not exis
t
debug: Puppet::Type::Package::ProviderBlastwave: file pkg-get does not exist
debug: Puppet::Type::Package::ProviderFreebsd: file /usr/sbin/pkg_info does not
exist
debug: Puppet::Type::Package::ProviderAix: file /usr/bin/lslpp does not exist
debug: Puppet::Type::Package::ProviderNim: file /usr/sbin/nimclient does not exi
st

and so on and so forth.

So, on solaris, it is having ALL providers for resource type package, poll.
Whether you specify a provider explicitly on commandline, or not.

-- 
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