Look at the agent's --debug output. In the preamble there is a section on how providers get selected.
Cheers, David On Tue, Mar 27, 2018 at 7:17 PM Dave F <[email protected]> wrote: > I'm using puppet to look after a mix of raspbian and gentoo OS's. This is > going pretty well so far - but I've hit an annoying issue that on the > Gentoo OS, I'm seeing this: > > Warning: Found multiple default providers for service: init, systemd; > using init > > which is annoying because my gentoo box is actually running systemd. > > I've had a look through the docs, and know that I can override this - > possibly by using facts to find the OS version and then setting the > provider attribute for any service resource I'm using - but this seems an > overly complicated approach. > > What I can't do is find documentation on how/why puppet thinks my gentoo > system is using init and systemd. All the docs says is "You will seldom > need to specify this — Puppet will usually discover the appropriate > provider for your platform." > > And in 5.5 documentation, there isn't even a provider attribute listed for > services anyway. > > Any clue as to how/where puppet gets this from? So I can try and workout > what's up with my Gentoo box that makes puppet thinks it's using init. > > Thanks > Dave > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/6285ba22-5e13-458e-8d93-bb123c7939ab%40googlegroups.com > <https://groups.google.com/d/msgid/puppet-users/6285ba22-5e13-458e-8d93-bb123c7939ab%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Cheers, David https://twitter.com/dev_el_ops -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CALF7fHZnUkNriatE3gxtCk6fXKNkkmxQnNgPQmMxs6yH5f3fcg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
