move the deploy switching stuff out of the resource and
into the lower level objects.  clean up cp_unix a little bit.