move install resource definition to ::install