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

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

Open
red-hood opened this issue Aug 11, 2014 · 1 comment
Open

Comments

@red-hood
Copy link

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.

red-hood added a commit to red-hood/puppet-bacula that referenced this issue Aug 11, 2014
The default value '/var/lib/bacula' for baculas working directory is
added for Debian, Ubuntu and Mint distributions.

Fixes netmanagers#30
@red-hood
Copy link
Author

Fixed with PR in #31

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

Successfully merging a pull request may close this issue.

1 participant