[chef] run chef_recipe inside the chef resources


Chronological Thread 
  • From: < >
  • To:
  • Subject: [chef] run chef_recipe inside the chef resources
  • Date: Thu, 18 Sep 2014 05:50:53 -0700 (PDT)


HI,


I need to run chef_recipe inside the chef resources like 


ruby_block "XXXXXXX" do
block do
f $inc == 1 then 
            puts "call rollback method!"
            include_recipe "rollback::stopservices"
            else 
            puts "No need to call rollback method!"
        end
end
end

but its shows error, I need to know it is possible to call chef recipe from 
any
chef resources in one recipe? 
and how can I call one chef resources from  another chef resource? same or 
diff
resources???


Thanks in advance


Regards,
ganesan.A


  • [chef] run chef_recipe inside the chef resources, ganesan15785, 09/18/2014

Archive powered by MHonArc 2.6.16.

§