Using an all numeric environment in puppet causes the following error on the client Error: Could not initialize global default settings: undefined method `to_sym' for 8675309:Fixnum
If that value is placed within quotes on the client the server returns the following error: Error: /File[/opt/puppetlabs/puppet/cache/lib]: Could not evaluate: Could not retrieve file metadata for puppet:///plugins: Error 500 on SERVER: Server Error: undefined method `match' for 8675309:Fixnum Did you mean? catch
*Desired Behavior:* Using an all numeric environment name complies with the regular expression supplied in the documentation.
*Actual Behavior:* All numeric ienvironment environment name is not functioning
Please take a moment and attach any relevant log output and/or manifests. This will help us immensely when troubleshooting the issue.
puppet agent with --test --trace --debug Error: Could not initialize global default settings: undefined method `to_sym' for 8675309:Fixnum /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/settings.rb:550:in `parse_config' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/settings.rb:597:in `parse_config_files' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/settings.rb:264:in `initialize_global_settings' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:133:in `do_initialize_settings_for_run_mode' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:127:in `initialize_settings' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:67:in `block in execute' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:540:in `exit_on_fail' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:66:in `execute' /opt/puppetlabs/puppet/bin/puppet:5:in `<main>'
Using an all numeric environment in puppet causes the following error on the client Error: Could not initialize global default settings: undefined method `to_sym' for 8675309:Fixnum
If that value is placed within quotes on the client the server returns the following error: Error: /File[/opt/puppetlabs/puppet/cache/lib]: Could not evaluate: Could not retrieve file metadata for puppet:///plugins: Error 500 on SERVER: Server Error: undefined method `match' for 8675309:Fixnum Did you mean? catch
Desired Behavior:
Using an all numeric environment name complies with the regular expression supplied in the documentation.
Actual Behavior: All numeric ienvironment name is not functioning
Please take a moment and attach any relevant log output and/or manifests. This will help us immensely when troubleshooting the issue.
puppet agent with --test --trace --debug Error: Could not initialize global default settings: undefined method `to_sym' for 8675309:Fixnum /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/settings.rb:550:in `parse_config' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/settings.rb:597:in `parse_config_files' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/settings.rb:264:in `initialize_global_settings' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:133:in `do_initialize_settings_for_run_mode' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:127:in `initialize_settings' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:67:in `block in execute' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:540:in `exit_on_fail' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:66:in `execute' /opt/puppetlabs/puppet/bin/puppet:5:in `<main>'
Henrik Lindberg It should be fairly trivial. We just need to pass the setting object instead of the value, as for example the BooleanSetting already knows how to munge strings case-insensitively.