Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webhook service fails to enable on Debian Stretch #411

Open
Adam-Ant opened this issue Mar 7, 2018 · 3 comments
Open

Webhook service fails to enable on Debian Stretch #411

Adam-Ant opened this issue Mar 7, 2018 · 3 comments

Comments

@Adam-Ant
Copy link

Adam-Ant commented Mar 7, 2018

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 5.4.0
  • Ruby: Puppet built-in
  • Distribution: Debian 9 (Stretch)
  • Module version: 6.3.2

Calling the r10k::webhook class fails, as it cannot enable the service.

Running systemctl enable webhook.service manually afterward produces the following error:

webhook.service is not a native service, redirecting to systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable webhook
update-rc.d: error: webhook Default-Start contains no runlevels, aborting.

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.

@Adam-Ant Adam-Ant changed the title Enabled webhook service fails on Debian Stretch Webhook service fails to enable on Debian Stretch Mar 7, 2018
@Adam-Ant
Copy link
Author

Adam-Ant commented Mar 7, 2018

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.

@dhollinger
Copy link
Member

@Adam-Ant we've released a few versions since this, are you still seeing issues?

@rogermartensson
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants