[chef] Leveraging node data for one-off commands


Chronological Thread 
  • From: Kenneth Stailey < >
  • To:
  • Subject: [chef] Leveraging node data for one-off commands
  • Date: Wed, 29 Dec 2010 13:03:55 -0800 (PST)
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=iNhRwrGhwcovz+2DPTZOzYciisBZuzEdPEcS0o5pYpbKREsRwAek7dQnZr+Weqakq+7yUWJoK49Fja/KEgu1T0369kazHCkdoZj4dne8kZbXdXxMpvGIY8XZ7ag7ywv03D9tcAu+XuVL1xUOWtzLtJCP2sVwY6TLkLB28I6XfWs=;

All,

What's the best way to leverage chef data bags to launch something that does 
a one-off command on select nodes?

Thanks,
Ken

P.S.

-- from this point on are clues about what that question is asking --

In the past there were articles about using searches on Puppet stored configs 
to create lists of hosts that were fed into Capistrano.
http://www.robinbowes.com/article.php/2009100402131050

I'm not "married" to using Capistrano so my question is asked in a more 
generic way at the top of this message.

The idea of writing a recipe that would be used once seems to me to be a bit 
heavyweight.




Archive powered by MHonArc 2.6.16.

§