use dynamically defined resources to get around chef weirdness