Hello,
I'm looking for a place in puppet code where i can modify environment name
after it's been read from command line args or puppet.conf but before it hits
any puppet's internal machinery.
Use case: our directory environments are coming from git branches named
in a certain pattern, and that pattern includes '/' which for obvious reason
won't work properly. So current solution is to use puppet with a wrapper script
that reads environment arg and replaces '/' with '__'. Since we're running a
fork anyway I'd like to hide this logic into puppet codebase but struggling to
find a good spot for it.
Any suggestions?
- maksym