Refactoring conditional install to be more chefy.