- From: Brad Knowles <
>
- To:
- Cc: Brad Knowles <
>
- Subject: [chef] Re: Knife fundamentals (what did I miss?)
- Date: Fri, 16 Sep 2011 14:58:15 -0500
On Sep 16, 2011, at 2:49 PM, Maven User wrote:
>
1 - How do you tell chef to apply/deploy the software? I updated the role
>
for the chef-client but I never saw it get applied. I had to restart the
>
chef-client service.
You re-run chef-client. If you've got it running every thirty minutes under
cron, then it should auto-update within the next 30 minutes, one you upload
the new cookbook or whatever. If you don't have some automated process that
is firing off a new chef-client every thirty minutes (or whatever), then
you'll need to manually re-run chef-client on that box.
>
2 - If I have my own software, how does this get transferred up to the chef
>
server?
You need to build your own cookbook for that and upload it to the chef
server. Assuming the new roles, etc... that you define for your own software
are properly applied to the correct nodes, the next time they run
chef-client, they should pick up the changes and do whatever you told them to
do in the cookbook.
--
Brad Knowles
<
>
Junior Apprentice Prep Cook Trainee
Archive powered by MHonArc 2.6.16.