We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc0f906 commit afe2aa3Copy full SHA for afe2aa3
lib/octocatalog-diff/catalog-util/command.rb
@@ -78,7 +78,7 @@ def puppet_command
78
# Add environment - only make this variable if preserve_environments is used.
79
# If preserve_environments is not used, the hard-coded 'production' here matches
80
# up with the symlink created under the temporary directory structure.
81
- environ = @options[:preserve_environments] ? @options.fetch(:environment, 'production') : 'production'
+ environ = @options.fetch(:environment, 'production')
82
cmdline << "--environment=#{Shellwords.escape(environ)}"
83
84
# For people who aren't running hiera, a hiera-config will not be generated when @options[:hiera_config]
0 commit comments