How to use puppet modules that require upstart with docker?
There seems to be no way to get puppet modules requiring upstart to work in docker. The use of the ubuntu-upstart image gets ride of the Could not evaluate: undefined method `' for nil:NilClass error.
However, I immediately hit the Unable to connect to Upstart error. The work around for which is to modify initctl to return true with:
dpkg-divert --local --rename --add /sbin/initctl ln -s /bin/true /sbin/initctl
Then I'm back to the Could not evaluate: undefined method `' for nil:NilClass error.
I use a few module that requires upstart and it seems like I'm stuck with one of the problems. What to do about the catch 22???
Jerome Petazzoni suggests changing the provider=base on this Google groups topic.
I've tested that with the upstart image and it seems to work. I'm not sure what setting the provider=base does, so don't know what the proper fix should be. Should docker support better upstart support for puppet modules or should puppet modules just use the provider=base work around?