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
(PUP-10955) Normalize environment name to symbol before caching #8702
Conversation
jenkins please test this with servertests |
7624faf
to
3a1f46b
Compare
jenkins please test this with servertests |
3a1f46b
to
091af08
Compare
jenkins please test this with servertests |
PR #8673 is been merged, so you should be able to rebase onto upstream/6.x |
5a5f5a3
to
505e785
Compare
Acceptance tests passed (here) so this should be good to further review/merge ✅ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just had the nit, otherwise looks good.
The `Puppet::Environments::Cached.get` method says it accepts Strings or Symbols. This commit normalizes the environment name before caching and getting the environment to avoid duplicated environments in cache (as String and as Symbol).
505e785
to
a6e0a6b
Compare
* upstream/6.x: (packaging) Updating manpage file for 6.x Revert "Merge pull request puppetlabs#8673 from joshcooper/guard_text_domain" Revert "Merge pull request puppetlabs#8708 from joshcooper/missing_guard_methods" Revert "Merge pull request puppetlabs#8702 from luchihoratiu/PUP-10955-un-revert" (docs)(DOC-5035) Remove "master" in generated docs Conflicts: lib/puppet/defaults.rb lib/puppet/environments.rb lib/puppet/type/filebucket.rb man/man5/puppet.conf.5 Accepted text_domain_service revert in 6.x Accepted `Puppet Server` changes in 6.x
…PUP-10955-un-revert"" This reverts commit c709fa4.
The
Puppet::Environments::Cached.get
method says it accepts Strings or Symbols. This commit normalizes the environment name before caching and getting the environment to avoid duplicated environments in cache (as String and as Symbol).