Extend autopkg capabilities by adding a before and after hook system allowing system administrator to add custom processor to existing recipes from the command line, without having to override them.
Before processor are added via -b and after via -b.
Multiple processor of each kind can be added.
If the pre and post processor need inputs, they can use the -k option or use any existing file on disk.
The MunkiSetDefaultCatalog processor added with this commit is an example of that. It read the default catalog set in the munki settings file for the current user and update the recipe input settings to override the target catalog before the recipe execution and without needs of new recipe file on disk.
Update fork an pull request to include last master improvment.
Update switch option to use pre/post processor name instead of before and after.
Update the processor to use CFPreference instead of subprocess with default.
Merge 'ygini:feature/PreAndPostProcessorSupport'