select package based on machine type
service resource should be after a template resource