Open Adam-Ant opened 6 years ago
It seems as the change for this has already happened, but is not part of 6.3.2 for some reason. Will leave this issue open for now.
@Adam-Ant we've released a few versions since this, are you still seeing issues?
Old issue but I'm seeing the same error with Ubuntu 18.04 with module version 10.1.1.
$ sudo systemctl enable webhook
Synchronizing state of webhook.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable webhook
update-rc.d: error: webhook Default-Start contains no runlevels, aborting.
Affected Puppet, Ruby, OS and module versions/distributions
Calling the
r10k::webhook
class fails, as it cannot enable the service.Running
systemctl enable webhook.service
manually afterward produces the following error:It seems the
/etc/init.d/webhook
file is missing the init information at the start of the file, which it seem Debian/systemd requires.The documentation for providing this information is here, and is all defined in comments, so should be easy to add without affecting any other platform.