lib/o2h.rb in o2h-0.1.10 vs lib/o2h.rb in o2h-0.1.11
- old
+ new
@@ -16,8 +16,11 @@
def app_mode
require 'newrelic_rpm'
end
+ def host(recipe)
+ File.expand_path(File.join(%w{o2h recipes host} << recipe + ".rb"), File.dirname(__FILE__))
+ end
end
O2h.initialize!