Issue #12553 has been updated by Garrett Honeycutt.
The use case is that it is potentially natural behavior and we do not mention in the documentation[1] that it cannot be done. I am on board with us not allowing dashes, since we do not allow them in variables, but the connection between variables and the environment label is not clear. It should be documented that dashes are not allowed and we should parse the environment name and if it contains a dash, fail gracefully with why, as opposed to spewing html. [1] - <http://docs.puppetlabs.com/guides/environment.html> ---------------------------------------- Bug #12553: environment names cannot contain a dash, which should be a legal character https://projects.puppetlabs.com/issues/12553#change-54329 Author: Garrett Honeycutt Status: Needs Decision Priority: Normal Assignee: Randall Hansen Category: environments Target version: Affected Puppet version: 2.7.9 Keywords: environments dash hyphen Branch: If the environment name contains a dash, running the puppet agent will barf horribly. To replicate, setup an environment name with a dash such as <pre> [founda-bug] </pre> restart the puppet master, then run `puppet agent -t` -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
