[chef] Access to chef environment in Rakefile


Chronological Thread 
  • From: Igor Afonov < >
  • To:
  • Subject: [chef] Access to chef environment in Rakefile
  • Date: Thu, 9 Aug 2012 15:14:51 +0300

Hello,

Is there any way to have an access to chef environment, run search etc. from chef-repo's Rakefile? I've noticed that when I need to access search I'm creating a script which I then run via `knife exec …`. Can I do it somehow directly from Rakefile without shelling-out?

Thanks,





Archive powered by MHonArc 2.6.16.

§