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

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-dev/ac2a64b8-2b3b-4a88-93cf-d80e1fceb3b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to