[chef] How to run a shell command in a provider?


Chronological Thread 
  • From: Tayrone Isa < >
  • To:
  • Subject: [chef] How to run a shell command in a provider?
  • Date: Wed, 8 Apr 2015 14:51:21 -0500

Hi I am new to resource development, how can I do this in a provider,

Get output of a shell command, if output contains the word "running..."
set new_resource.status should be set to "running"

how can I do that ?



Archive powered by MHonArc 2.6.16.

§