So reading this right you want to have an agent run code out of the test
branch on the puppetserver and not the production branch? And it will work
fine if you change the codedir on the puppetserver?
The clients usually do not dictate the code directory on the remote
server. They tell the server
My understanding is that the Puppet CLI parameters will be the values taken
in at run time.
I have two code directories; test and production.
They are exact replicas of each other.
If I force the puppetserver to run /etc/puppetlabs/test -- it will run
without issue and as expected.
When I run t