Bug #18045

Puppet classes don't show up without hostgroups

Added by Daniel Lobato Garcia over 1 year ago. Updated 9 days ago.

Status:Closed
Priority:Normal
Assignee:Daniel Lobato Garcia
Category:Puppet integration
Target version:1.15.0
Difficulty: Team Backlog:
Triaged: Fixed in Releases:
Bugzilla link: Found in Releases:
Pull request:https://github.com/theforeman/foreman/pull/4186

Description

After #3551 was merged, the hosts controller requires both environment and hostgroup to be set in order to display puppetclasses.
It shouldn't be required to have both, so we should check what's available and use it


Related issues

Related to Foreman - Bug #3551: Foreman removes all puppet classes from a hostgroup when ... Closed 10/31/2013

Associated revisions

Revision 22a5bf03
Added by Daniel Lobato Garcia over 1 year ago

Fixes #18045 - Puppet classes show up choosing only env.

After #3551 was merged, the hosts controller requires both environment
and hostgroup to be set in order to display puppetclasses.

It shouldn't be required to have both, so we should check what's
available and use it. If it's only the hostgroup or the environment, it
should work.

History

#1 Updated by Dominic Cleal over 1 year ago

  • Related to Bug #3551: Foreman removes all puppet classes from a hostgroup when the environment is changed. added

#2 Updated by Dominic Cleal over 1 year ago

  • Category set to Puppet integration
  • Legacy Backlogs Release (now unused) set to 209

#3 Updated by The Foreman Bot over 1 year ago

  • Status changed from New to Ready For Testing
  • Assignee set to Daniel Lobato Garcia
  • Pull request https://github.com/theforeman/foreman/pull/4186 added

#4 Updated by Anonymous over 1 year ago

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

#5 Updated by Daniel Lobato Garcia over 1 year ago

  • Target version set to 169

#6 Updated by Brad Buckingham over 1 year ago

  • Target version deleted (169)

#7 Updated by Daniel Lobato Garcia over 1 year ago

  • Target version set to 1.11.0

Also available in: Atom PDF