Removal of Catalog doesn't clear out from manifests

118 views
Skip to first unread message

zack.m...@bsd7.org

unread,
May 18, 2015, 1:37:33 PM5/18/15
to munkiad...@googlegroups.com
Not sure if this is a MunkiAdmin issue, but I saw it with Munki Admin first.
So I removed all software from a manifest and deleted it. Upon saving, running Make Catalogs and reloading the Repo (That way the views are real time rather then showing the old catalogs), I started noticing references to the removed catalog on MunkIReportPHP. Does munki admin remove the deleted catalogs from the Manifests (which is what was shown but had not actually done) or is that a munki tools command that is run that is supposed to do that?

Mike Solin

unread,
May 18, 2015, 4:05:38 PM5/18/15
to munkiad...@googlegroups.com
MunkiAdmin leaves defunct catalogs in manifests.  I just grep the directory for old catalogs and remove them manually:

grep -R “oldcatalog" /Volumes/munki_repo/manifests
On May 18, 2015, at 1:37 PM, zack.m...@bsd7.org wrote:

Not sure if this is a MunkiAdmin issue, but I saw it with Munki Admin first.
So I removed all software from a manifest and deleted it. Upon saving, running Make Catalogs and reloading the Repo (That way the views are real time rather then showing the old catalogs), I started noticing references to the removed catalog on MunkIReportPHP. Does munki admin remove the deleted catalogs from the Manifests (which is what was shown but had not actually done) or is that a munki tools command that is run that is supposed to do that?

--
You received this message because you are subscribed to the Google Groups "MunkiAdmin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munkiadmin-de...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

zack.m...@bsd7.org

unread,
May 19, 2015, 10:29:56 AM5/19/15
to munkiad...@googlegroups.com
The actual catalog was gone. The Key in the manifest was not. Sorry for lack of information on that.

Hannes Juutilainen

unread,
May 19, 2015, 2:00:16 PM5/19/15
to munkiad...@googlegroups.com
Thanks for posting. This is definitely a bug in MunkiAdmin. Issue opened in GitHub:
https://github.com/hjuutilainen/munkiadmin/issues/64

--
Hannes Juutilainen

zack.m...@bsd7.org

unread,
May 19, 2015, 2:17:08 PM5/19/15
to munkiad...@googlegroups.com
Thanks Hannes! I added the steps to reproduce the issue to the case on github.
Reply all
Reply to author
Forward
0 new messages