> And flush the class cache after changing the ...
# puppet
c
And flush the class cache after changing the symlink
Do you mean the environment cache, or is the class cache something different? This is what I know of: https://www.puppet.com/docs/puppet/7/server/admin-api/v1/environment-cache.html