Project

General

Profile

Actions

Bug #4658

closed

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

Added by Dominic Cleal about 10 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Category:
Puppet
Target version:
Difficulty:
Triaged:
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 2 (0 open2 closed)

Related to Smart Proxy - Bug #4686: Proxy attempts to load Puppet config at /usr/share/foreman-proxy/.puppet/puppet.confClosedDominic Cleal03/18/2014Actions
Blocks Installer - Tracker #4359: Puppet 3.5.0 supportClosedDominic Cleal02/17/201402/28/2014

Actions
Actions #1

Updated by Dominic Cleal about 10 years ago

Actions #2

Updated by Dominic Cleal about 10 years ago

  • Status changed from Assigned to Ready For Testing
Actions #3

Updated by Dominic Cleal about 10 years ago

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

Updated by Dominic Cleal about 10 years ago

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

Also available in: Atom PDF