Define resource before using it
Fix NoMethodError - undefined method `run_action' for "execute[newrelic-apt-get-update]":String