Project

General

Profile

Bug #4658

Environment list returns undefined method `[]' for nil:NilClass on Puppet 3.5

Added by Dominic Cleal over 6 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Category:
Puppet
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

On Puppet 3.5, the environment import throws an exception:

NoMethodError: undefined method `[]' for nil:NilClass
    /usr/share/foreman-proxy/bin/../lib/proxy/puppet/environment.rb:29:in `puppet_environments'
    /usr/share/foreman-proxy/bin/../lib/proxy/puppet/environment.rb:13:in `all'
    /usr/share/foreman-proxy/bin/../lib/puppet_api.rb:40:in `GET /puppet/environments'

Related issues

Related to Smart Proxy - Bug #4686: Proxy attempts to load Puppet config at /usr/share/foreman-proxy/.puppet/puppet.confClosed2014-03-18
Blocks Installer - Tracker #4359: Puppet 3.5.0 supportClosed2014-02-172014-02-28

Associated revisions

Revision dd374005 (diff)
Added by Dominic Cleal over 6 years ago

fixes #4658 - parse puppet.conf with augeas instead of puppet internals

History

#1 Updated by Dominic Cleal over 6 years ago

#2 Updated by Dominic Cleal over 6 years ago

  • Status changed from Assigned to Ready For Testing

#3 Updated by Dominic Cleal over 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#4 Updated by Dominic Cleal over 6 years ago

  • Related to Bug #4686: Proxy attempts to load Puppet config at /usr/share/foreman-proxy/.puppet/puppet.conf added

Also available in: Atom PDF