Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
choules opened this issue Mar 9, 2022 · 1 comment
Open

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

choules opened this issue Mar 9, 2022 · 1 comment

Comments

@choules
Copy link
Member

choules commented Mar 9, 2022

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.

@nmcspadden
Copy link
Contributor

nmcspadden commented Mar 9, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants