Skip to content

Allow getManifests(env) to recognize symbolic links for directories#2819

Open
promarcel wants to merge 1 commit intopuppetlabs:mainfrom
promarcel:allow-symlinks-in-manifests-directory
Open

Allow getManifests(env) to recognize symbolic links for directories#2819
promarcel wants to merge 1 commit intopuppetlabs:mainfrom
promarcel:allow-symlinks-in-manifests-directory

Conversation

@promarcel
Copy link
Copy Markdown

In the file https://github.com/puppetlabs/puppetserver/blob/main/src/ruby/puppetserver-lib/puppet/server/master.rb#L281, the getManifests function processes how files are found within the manifests/ folder.

With this current behavior, we have noticed that sub-folders and individual symbolic links work without problems, but symbolic links on folders are not followed.

This pull request optimizes this behavior and allows the use of symbolic links on folders if the use case requires it.

…ectories

Signed-off-by: Marcel Deglau <marcel.deglau@hetzner.com>
@promarcel promarcel requested a review from a team as a code owner February 5, 2024 14:09
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Feb 5, 2024

CLA assistant check
All committers have signed the CLA.

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 this pull request may close these issues.

2 participants