puppetlabs / puppetserver

Server automation framework and application
https://tickets.puppetlabs.com/browse/SERVER
Apache License 2.0
292 stars 235 forks source link

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

Open promarcel opened 7 months ago

promarcel commented 7 months ago

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.

CLAassistant commented 7 months ago

CLA assistant check
All committers have signed the CLA.