Project

General

Profile

Actions

Bug #12161

closed

ignored_environments.yml: Unable to include only class matching regex

Added by Adam Cécile over 9 years ago. Updated almost 8 years ago.

Status:
Feedback
Priority:
Normal
Assignee:
-
Category:
Puppet integration
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Hello,

I created a /usr/share/foreman/config/ignored_environments.yml file containing:

:filters:
  - ruby/regexp '/^role_/'

It's supposed to filter out all classes not matching the role_* name but it doesn't. Using the default example [1] which works the other way, I can confirm I see apt::params being filtered.

Thanks in advance,

Adam.

[1]

#:ignored:
#  - test

:filters:
  - !ruby/regexp '/params$/'
  - !ruby/regexp '/base$/'
  - !ruby/regexp '/install$/'
  - !ruby/regexp '/service$/'
  - !ruby/regexp '/config$/'

Actions

Also available in: Atom PDF