Comment 73 for bug 1570472

Revision history for this message
Anil Shashikumar Belur (askb23) wrote :

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 ?