goodrobots / maverick

UAV Autonomous Systems Management
https://goodrobots.github.io/maverick/
MIT License
167 stars 60 forks source link

Raspbian facter/puppet service provider broken #1004

Open fnoop opened 2 years ago

fnoop commented 2 years ago

Warning: Found multiple default providers for service: init, systemd; using init

Puppet service provider set here: https://github.com/puppetlabs/puppet/blob/7.9.0_release/lib/puppet/provider/service/systemd.rb

This looks for Debian in $operatingsystem not Raspbian. In facter > 2.4.6 (ie >4.0.0) $operatingsystem changes from Debian to Raspbian and breaks the default system provider.

It can't be set by default, at least not in serverless agent setup Maverick is using.

For now, try to downgrade facter to 2.4.6.

fnoop commented 2 years ago

https://ask.puppet.com/question/396/howto-force-systemd-as-service-provider-globally/

fnoop commented 2 years ago

Worked around but not inherently fixed, reopening to raise and track a proper fix.