Skip to content

Use of "munki_repo_changed" to detect the need of makecatalog #418

@choules

Description

@choules

The MakeCatalogsProcessor checks the AutoPKG results, if a MunkiImporter has imported an item:

if item.get("Processor") == "MunkiImporter":

Since "import" is not the only action which may modify the repository, it would be great to check for the processor output munki_repo_changed, which seems to be more generic.

Background:
We are currently working on a processor, which may modify some pkginfo files, even though no new items have been imported. It would be great to have the option to rebuild the catalogs using the MakeCatalogs.munki recipe afterwards.

I would be happy to provide a pull request, if this has a chance to be integrated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions