Skip to content

Error about not being able to realize working directory as a link #30

@red-hood

Description

@red-hood

On a Debian system, the working directory for bacula is /var/lib/bacula, but in https://github.com/netmanagers/puppet-bacula/blob/master/manifests/init.pp#L224 the default value is checked, which is /var/spool/bacula for all OS'es. Therefore,puppet tries to create this directory as a link, which fails as it was already installed with the package. The following error message is shown:

err: /Stage[main]/Bacula/File[/var/lib/bacula]/ensure: change from directory to link failed: Could not remove existing file

Providing a sane default for Debian systems would fix this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions