atheiman / simple-passenger-cookbook

Chef cookbook to deploy Rack-based Ruby web application(s) (Rails, Sinatra, etc) with Passenger standalone.
https://supermarket.chef.io/cookbooks/simple_passenger
0 stars 4 forks source link

duplicate code in resource moved into method #26

Open atheiman opened 7 years ago

atheiman commented 7 years ago

need to create a library method for the code that sets run_state for apps in the lwrp. that will allow the code to be shared among the lwrp actions

atheiman commented 7 years ago

should also look at action_class for methods in the resource https://docs.chef.io/custom_resources.html#action-class