Erik is right, that's exactly my problem - i want to be able to run `puppet --environment invalid/env/name` and have puppet see it as `invalid__env__name`
On Wednesday, May 6, 2015 at 10:43:57 AM UTC+2, Erik Dalén wrote: > > > > On Mon, 4 May 2015 at 18:43 James Turnbull <[email protected] > <javascript:>> wrote: > >> Maksym Melnychok wrote: >> > from what i can gather r10k suffers from the same problem: >> > >> > >> https://github.com/puppetlabs/r10k/blob/master/doc/dynamic-environments/git-environments.mkd#invalid_branches >> > >> > what i need is to be able to tell puppet (either in command line or >> > config) that >> > environment value is "some/git/branch" while puppet will see it >> internally >> > as "some__git__branch" >> > >> >> My reading of those docs is that r10k will rename the branch internally. >> >> > Right, but I think the issue here is that you have to specify the renamed > branch name as --environment option. You can't specify the original name > with slashes etc. > > >> Regards >> >> James Turnbull >> >> -- >> * The Art of Monitoring (http://artofmonitoring.com) >> * The Docker Book (http://dockerbook.com) >> * The LogStash Book (http://logstashbook.com) >> * Pro Puppet (http://tinyurl.com/ppuppet2 ) >> * Pro Linux System Administration (http://tinyurl.com/linuxadmin) >> * Hardening Linux (http://tinyurl.com/hardeninglinux) >> >> -- >> 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] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/puppet-dev/5547A1BC.8030003%40lovedthanlost.net >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- 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/d24e2d33-dc75-4243-ac92-1ec3c38b56f6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
