For those who are running into this problem and stumble upon this bug:
adding the following to your "site.pp" file is a workaround. It sets
'systemd' as default provider for any service resource.

if $operatingsystem == 'Ubuntu' and versioncmp($operatingsystemrelease, 
'16.04') >= 0 {
        # Sets the new systemd as default service provider on Ubuntu 16.04 and 
higher.
        # Works around upstart being used by Puppet.
        # See also: 
https://bugs.launchpad.net/ubuntu/+source/puppet/+bug/1570472
        Service {
                provider => systemd
        }
}

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1570472

Title:
  Set systemd as default service provider

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/puppet/+bug/1570472/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to