Ambiguity with COMMIT=true in rake scripts

As a katello+foreman user, I also (advice to) execute various rake scripts (clean tasks, katello refresh repos,…). And sometimes I forget to use COMMIT=true argument to really execute the script. Then it takes some time to realize why my intervention did not help, which is tedious.

Could be the COMMIT argument unified among freman+katello rake scripts?

So far I am aware of just three locations of the argument with default False, all in katello:

I understand that changing the default behaviour from “no-op” to “really-op” can be a backward-compatibility concern, though.

1 Like