Firefox + AutoConfig recipes

517 views
Skip to first unread message

Gregory Neagle

unread,
Jan 28, 2015, 7:42:05 PM1/28/15
to autopkg...@googlegroups.com
I've made something new I'd like some feedback on:

https://gist.github.com/gregneagle/0f04cad487ec03293037

These are some recipes for packaging and deploying Firefox + autoconfig files as generated by the CCK2 extension.

You can read about the CCK2 extension here: http://mike.kaply.com/cck2/

CCK2 can output two different things: 1) a Firefox extension, and 2) a set of autoconfig files. These recipes use the autoconfig output, which comes in the form of a .zip file.

FirefoxAutoconfg.pkg.recipe downloads Firefox and build an Installer pkg containing the Firefox app + the autoconfig files.

FirefoxAutoconfig.munki.recipe is a child of the pkg recipe and imports the pkg into a Munki repo.

Read the descriptions of the recipes to get an idea of the options. The recipes have been tested with the latest RC and ESR Firefox releases, and with the output of the current CCK2 Wizard (2.0.18).

Feedback eagerly awaited.

-Greg

Vaughn Miller

unread,
Jan 29, 2015, 8:31:58 AM1/29/15
to autopkg...@googlegroups.com
I took this for a spin this morning and I like it!  It wasn't obvious to me if the autoconfig.zip file should reside in the directory of the parent recipe or my override (easy to sort that with a little trial and error).  Other than that everything was straightforward.

Vaughn Miller
Desktop Engineer
Lafayette College


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

Gregory Neagle

unread,
Jan 30, 2015, 12:14:10 AM1/30/15
to autopkg...@googlegroups.com
These recipes are now available in the gregneagle-recipes repo.

autopkg add-repo gregneagle-recipes

-Greg

Chase Thompson-Baugh

unread,
Jan 30, 2015, 3:19:04 PM1/30/15
to autopkg...@googlegroups.com
I think you mean:

autopkg repo-add gregneagle-recipes

Gregory Neagle

unread,
Jan 30, 2015, 3:20:14 PM1/30/15
to autopkg...@googlegroups.com
Yes. (It was a test to see if you were worthy. You passed.)

Chase Thompson-Baugh

unread,
Jan 30, 2015, 3:37:42 PM1/30/15
to autopkg...@googlegroups.com
I feel so honored. I just tested your recipe and it worked great. Nice work! Now everyone will use Omnibar. (maniacal laugh)

It's important to note that if you use a recipe override for this (I always do) then the autoconfig.zip file must be in the ~/Library/AutoPkg/RecipeOverrides/ directory.

Gregory Neagle

unread,
Jan 30, 2015, 3:41:23 PM1/30/15
to autopkg...@googlegroups.com
It might not be completely clear to people that recipe overrides are themselves recipes.

And so, yes, if you create a recipe override, which is a child recipe, which is a recipe, then the autoconfig.zip needs to be in the same directory as the actual recipe you are running and not in the directory of some parent of that recipe.

-Greg

On Jan 30, 2015, at 12:37 PM, Chase Thompson-Baugh <chas...@gmail.com> wrote:

I feel so honored. I just tested your recipe and it worked great. Nice work! Now everyone will use Omnibar. (maniacal laugh)

It's important to note that if you use a recipe override for this (I always do) then the autoconfig.zip file must be in the ~/Library/AutoPkg/RecipeOverrides/ directory.

Reply all
Reply to author
Forward
0 new messages