pleaserun icon indicating copy to clipboard operation
pleaserun copied to clipboard

Abstract operational actions? (start/stop/install/remove/etc

Open jordansissel opened this issue 11 years ago • 2 comments

A chat with @coderanger on IRC about implementing a pleaserun chef resource type, he gave a convincing argument for why pleaserun's abstraction should be extended to include operational actions like start and stop.

Sounds good to me! Let's figure out what that would look like.

jordansissel avatar Mar 10 '14 21:03 jordansissel

What was that convincing argument?

igalic avatar Mar 10 '14 23:03 igalic

(summarizing the conversation I had with @coderanger about this)

I suppose it was two parts. First, the small claim that Chef doesn't handle different service types very well. Puppet may have the lead here, but Chef has 'service' and 'runit_service' and 'supervisor_service' and such instead of one unifying resource type with multiple providers (intentionally? accidentally? It doesn't matter). Second, that since pleaserun already has this notion of actions (install_actions), it's not a stretch to try generalizing that idea to other kinds of actions (start, stop, and remove actions).

jordansissel avatar Mar 11 '14 14:03 jordansissel