Skip to content

universal-post-cleanup

Baseline Classification

This stage provides late workflow cleanups after the post customization injections during decommission or a rebuild of a system.

It is added after the post customizations, as the profiles that are removed may specify post-flexiflow, post-classify, and post-callback injection.

By default this task will remove any ^universal-application-.* wildcard matched profiles on the Machine object. These are generally considered "pipeline profiles", that customize the Universal Pipeline experience. They usually contain customizations and configuration to the pipeline.

If a Machine is changing role to a new Pipeline defined declared state, then the old Universal Application Pipeline Profiles need to be removed first.

This task can be disabled by setting the boolean config value:

  • profile-cleanup-skip: true

The default action is to remove all profiles matching the pattern of ^universal-application-.* from the Machine object.

Note

The wildcard pattern is applied in this Stage definition. Order of precedence in param evaluation apply, so if the profile-cleanup-selection-pattern is found in a higher order of precedence, it'll override this Stage defined behavior.