Dimitri,Excellent patch, I'm definitely borrowing that after we update our packaging server! We do something very similar to enable package management through portmaster. The monkey patches live in our freebsd cookbook's libraries directory so the core chef code doesn't need modification. I expect this is a common pattern given the variety of package managers for FreeBSD.FWIW, we also have monkey patches as well that switch service commands over to using onestart, onestop, etc instead of start, stop so that commands don't fail before the service is enabled in rc.conf.
Archive powered by MHonArc 2.6.16.