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

Support for symlink data dirs #7

Open
danir-de opened this issue Oct 15, 2021 · 0 comments
Open

Support for symlink data dirs #7

danir-de opened this issue Oct 15, 2021 · 0 comments

Comments

@danir-de
Copy link

Hey there.
I've been managing a bigger nextcloud instance and stumbled upon a problem while migrating data from the native data folder to a symlink of another folder.

In our exact scenario, we want to use another path (for example /mnt/nextcloud) and make a symlink from /opt/nextcloud-data to /mnt/nextcloud.
The problem in this being, that the puppet module doesn't allow me to define another folder or symlink, since that directory is already a defined object:

file { $nextcloud::datadir:
ensure => directory,
owner => $nextcloud::system_user,
group => $nextcloud::system_group,
before => Nextcloud::Install::Distribution['initial install'],
}

It would be great to have a toggle, that allows me to "skip" the automatic creation of the data folder in order to define my own puppet file element with a toggle like manage_datadir => false.

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

1 participant