Open gjcarneiro opened 8 years ago
Thanks for taking the time to write this up. As of right now, this role only claims support for Ubuntu 14.04, but we are looking at adding support for 16.04 in the near future.
Before adding support for Xenial, I'd like to have better support for verifying that the role works on the operating systems we say it does. That'll probably mean adopting a testing mechanism better than a Vagrantfile
within the examples
subdirectory. Right now I'm taking a look at Molecule.
I get this on Ubuntu 15.10:
That is because Ubuntu now uses systemd instead of upstart. The next LTS release. 16.04, is due shortly and it also uses systemd.
To make it work, we need install a file
/lib/systemd/system/statsite.service
containing:I suggest you install both files in parallel, one for upstart, one for systemd. Then the system itself decides which to use, the other one ignored.