Feature #6502

Add a list of ignored classes in the Puppet classes view

Added by Anthony Lapenna over 3 years ago. Updated 9 months ago.

Status:Closed
Priority:Normal
Assigned To:Sebastian Gräßl
Category:Puppet integration
Target version:Team Daniel - Iteration 9
Difficulty: Bugzilla link:
Found in release: Pull request:https://github.com/theforeman/foreman/pull/4012
Story points-
Velocity based estimate-
Release1.15.0Release relationshipAuto

Description

If you have any filters configured to ignore some puppet class name pattern by Foreman in the file /usr/share/foreman/config/ignored_environments.yml (on Ubuntu), it can be useful to have access to a list of ignored puppet classes.

Last week, I had a lot of trouble debugging why my class wasn't imported in Foreman, adding some debug level to the foreman did not help. A specific ignore pattern was applied to my class name and so, my class could not be imported.

Associated revisions

Revision eb0834f5
Added by Sebastian Gräßl 10 months ago

Fixes #6502 - List ignored classes and environments on import

When importing environments and classes from puppet, ignored
environments and classes defined in ignored_environments.yml
aren't aparent.

This will add them to the list to import as ignored and
should address issues like #6502.

History

#1 Updated by Greg Sutcliffe over 3 years ago

I think we need to at least display the list of class names ignored class names in the UI, probably in a collapsible div (default to collapsed, most people don't care).

By showing classes ignored by ignored_environments.yml we can separate that from the modules which don't even reach foreman because they have no classes (just defines/lib content)

#2 Updated by Dominic Cleal over 3 years ago

  • Category set to Puppet integration

#3 Updated by Sebastian Gräßl about 1 year ago

  • Assigned To set to Sebastian Gräßl

#4 Updated by Marek Hulán about 1 year ago

  • Target version set to Team Marek Iteration 5

#5 Updated by Marek Hulán about 1 year ago

  • Target version changed from Team Marek Iteration 5 to Team Marek Iteration 6

#6 Updated by The Foreman Bot about 1 year ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/4012 added

#7 Updated by Tomáš Strachota 12 months ago

  • Target version deleted (Team Marek Iteration 6)

#8 Updated by Anonymous 10 months ago

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

#9 Updated by Dominic Cleal 10 months ago

  • Release set to 1.15.0

#10 Updated by Daniel Lobato Garcia 10 months ago

  • Target version set to Team Brad - Iteration 11

#11 Updated by Brad Buckingham 9 months ago

  • Target version deleted (Team Brad - Iteration 11)

#12 Updated by Daniel Lobato Garcia 9 months ago

  • Target version set to Team Daniel - Iteration 9

Also available in: Atom PDF