I'm one step closer now :)

It turns out that facter fiddles with the PATH - I've filed bug #1745.
It sets the PATH to
/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/usr/local/bin

But it still doesn't explain why I get the "Could not find default
provider for ...". I've found out that suitableprovider returns the
full list of providers, but this statement in type.rb
           # Find which providers are a default for this system.
           defaults = suitable.find_all { |provider|
provider.default? }
returns an empty list when run from cron.

cheers,
/Martin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to