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.
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 themanifests/
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.