Hi, I installed puppet on a range of OpenSuSE 11.1 servers and I have a very strange problem. I didn''t find anywere on the website or on the wiki, how I can set a default service provider. My problem is that freebsd is used instead of redhat and the init scripts are not started properly. Here is a snippet from the debug messages I collected from the console. <debug> debug: file /sbin/rc-update does not exist debug: file /usr/sbin/update-rc.d does not exist debug: file /usr/sbin/svcadm does not exist warning: Found multiple default providers for service: freebsd, redhat; using freebsd debug: Puppet::Type::Package::ProviderRpm: Executing ''/bin/rpm -- version'' debug: Puppet::Type::Package::ProviderYum: Executing ''/bin/rpm -- version'' debug: Puppet::Type::Package::ProviderAptrpm: Executing ''/bin/rpm -ql rpm'' debug: Puppet::Type::Package::ProviderUrpmi: Executing ''/bin/rpm -ql rpm'' </debug> --~--~---------~--~----~------------~-------~--~----~ 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 puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
diablo wrote:> Hi, > > I installed puppet on a range of OpenSuSE 11.1 servers and I have a > very strange problem. I didn''t find anywere on the website or on the > wiki, how I can set a default service provider. My problem is that > freebsd is used instead of redhat and the init scripts are not started > properly. Here is a snippet from the debug messages I collected from > the console.Define the default provider in the class with the largest scope, i.e. in site.pp. site.pp: case $operatingsystem { Solaris: { Package { provider => blastwave } }, redhat: { Package { provider => yum } } } Junhao --~--~---------~--~----~------------~-------~--~----~ 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 puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---