Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to lowercase environment names #256

Merged
merged 2 commits into from
Nov 20, 2015
Merged

Add option to lowercase environment names #256

merged 2 commits into from
Nov 20, 2015

Conversation

binford2k
Copy link
Member

According to
https://docs.puppetlabs.com/puppet/latest/reference/lang_reserved.html#environments,
environment names can only include lowercase characters *. As such,
downcase the environment we're trying to deploy, otherwise parts of the
PE stack can get quite cranky with you. This is a major change, though, so
default to the old behaviour of allowing uppercase names through.

  • Empirically validated. The Puppet Master can handle uppercased
    environment names, but the Console (maybe other components as well)
    cannot. That means that the Console will assign the downcased
    environment name, which doesn't actually exist on disk :-/

According to
https://docs.puppetlabs.com/puppet/latest/reference/lang_reserved.html#environments,
environment names can only include lowercase characters *. As such,
downcase the environment we're trying to deploy, otherwise parts of the
PE stack can get quite cranky with you. This is a major change, though, so
default to the old behaviour of allowing uppercase names through.

* Empirically validated. The Puppet Master can handle uppercased
  environment names, but the Console (maybe other components as well)
  cannot. That means that the Console will assign the downcased
  environment name, which doesn't actually exist on disk :-/
acidprime added a commit that referenced this pull request Nov 20, 2015
Add option to lowercase environment names
@acidprime acidprime merged commit 98d83b6 into voxpupuli:master Nov 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants