Just filed this as a bug report: Bug #3264: Renaming a host group looses class parameter overrides - Foreman
Thought I'd throw it in here also because this bit me pretty hard on my
production servers. Managed to find a hole in our monitoring systems also
such that it wasn't caught until customers found it.
Hasn't been a good day.
If you rename a host group that has class parameter overrides associated
with it, they are lost. In the puppet classes section the overrides are
there still referencing the old host group name.
So if you do rename a group, make sure to update the parameter overrides.
Back to my clean up…