Skip to content
This repository was archived by the owner on Jun 11, 2019. It is now read-only.
This repository was archived by the owner on Jun 11, 2019. It is now read-only.

Debian 8 service consists of 3 services #5

Open
@dagobert

Description

@dagobert

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 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions