Den 2017-09-05 kl. 12:14, skrev Greg Sutcliffe:
Heya!
Hi! Thanks for contacting.

That issue is what lead to that entry being placed in the manual, so they're effectively the same thing.

Can you share the exact contents of your ignored_environments.yml, just so we can see? Maybe there's a typo or something on another line that is causing issues....
No problem. My file is:
------- top of file -------
#:ignored:
#  - test

:filters:
  - !ruby/regexp '/^(?!role::.*)$/'
------- bottom of file -------

The "---" is of course not part of the file. This should be a copy-and-paste directly from the documentation.

Not long ago (sorry for not replying earlier) I noticed that I coult get it to work by adding a .* to the end of the rule just before the $. The documentation also states that "It will not delete any environments or classes already in Foreman." which is false. After adding the rule (with the ending .*) it asked if I wanted to delete any of the ignored classes.

--
You received this message because you are subscribed to the Google Groups "Foreman 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to