I am hitting the same issue even with latest version of puppet4 of 4.9.4
on ubuntu 16.04:
cat file.pp
--------------------------
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
}
}
#include docker
class { 'docker':
tcp_bind => 'tcp://0.0.0.0:5555',
extra_parameters => '--bip=10.250.0.254/24',
}
--------------------------
# puppet --version
4.9.4
Error: /Stage[main]/Docker::Service/Service[docker]: Provider upstart is not
functional on this host
Notice: Applied catalog in 34.83 seconds
Also tried workaround from #57, which does not seem to have any use.
What am I missing ?
--
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