You can configure the number of older bundle versions that you want to retain in ZENworks at the zone, folder and individual bundle levels. The order of precedence is bundle, folder and then zone. To navigate to the setting:
Management Zone Level: Click Configuration> Management Zone > Bundle, Policy and Content > Older Bundle Versions Retain Setting
Bundle Folder level: Click Details displayed on the bundle folder. Click Settings > Older Bundle Version Retain Setting.
Bundle: Click a bundle. Click Settings > Older Bundle Version Retain Setting.
The available options include:
Retain all versions: Select this option to retain all versions of the bundle. This includes the Published and Sandbox versions.
Retain the specified number of older versions: Select this option to specify the number of older versions of the bundle to be retained. The number that you specify should be a positive integer and it should not include the Published and Sandbox versions as they are retained by default.
For example: If a bundle has 5 versions and if you specify 2, then only the 2 versions prior to the currently published version will be retained along with Published and Sandbox versions. The remaining versions will be deleted.
Do not retain any older versions: Select this option if you do not want to retain any older versions. This option retains only the Published and Sandbox versions.