You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 11, 2019. It is now read-only.
Puppet should restart / reload the service after changing configuration.
Actual Behavior
Running puppet with changed configuration causes the following error
Error: Execution of '/usr/sbin/update-rc.d samba enable' returned 1: update-rc.d: error: samba Default-Start contains no runlevels, aborting. Error: /Stage[main]/Samba/Service[samba]/enable: change from false to true failed: Execution of '/usr/sbin/update-rc.d samba enable' returned 1: update-rc.d: error: samba Default-Start contains no runlevels, aborting.
The problem is, that in Debian 8 /etc/init.d/samba is only kind of a placeholder for the actual services smbd, nmbd and samba-ad-dc. As the error message states, it is missing any information about runlevels. It can be used by a user to determin the status, start, stop etc. the service, but puppet service type needs the runlevels.
I propose that the module need to add all three services for Debian 8. For checking the status, it can use /etc/init.d/samba.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Expected Behavior
Puppet should restart / reload the service after changing configuration.
Actual Behavior
Running puppet with changed configuration causes the following error
Error: Execution of '/usr/sbin/update-rc.d samba enable' returned 1: update-rc.d: error: samba Default-Start contains no runlevels, aborting. Error: /Stage[main]/Samba/Service[samba]/enable: change from false to true failed: Execution of '/usr/sbin/update-rc.d samba enable' returned 1: update-rc.d: error: samba Default-Start contains no runlevels, aborting.
The problem is, that in Debian 8
/etc/init.d/samba
is only kind of a placeholder for the actual servicessmbd
,nmbd
andsamba-ad-dc
. As the error message states, it is missing any information about runlevels. It can be used by a user to determin the status, start, stop etc. the service, but puppet service type needs the runlevels.I propose that the module need to add all three services for Debian 8. For checking the status, it can use
/etc/init.d/samba
.The text was updated successfully, but these errors were encountered: