puppetlabs / puppet-docs

Curated Puppet Documentation
Other
220 stars 302 forks source link

wrong documentation for allowed environment name characters (maybe?) #1158

Open bastelfreak opened 3 weeks ago

bastelfreak commented 3 weeks ago

Describe the Bug

From https://www.puppet.com/docs/puppet/7/environments_creating#env_structure

Note: Environment names can contain lowercase letters, numbers, and underscores. They must match the following regular expression rule: \A[a-z0-9_]+\Z. If you are using Puppet 5, remove the environment_data_provider setting.

I can deploy environments with r10k that contain lowercase and uppercase letters. I also didn't notice any issues while doing a quick test. Also r10k didn't correct my environment FOO to foo. Are uppercase letters supported and just the docs aren't up2date?

Expected Behavior

Support lower- and uppercase letters in environment names.

Steps to Reproduce

Environment

Additional Context

Add any other context about the problem here.

github-actions[bot] commented 3 weeks ago

Migrated issue to PUPDOC-5661