- From: Daniel DeLeo <
>
- To:
- Subject: [chef] Re: Non-convergence of cookbook on node
- Date: Fri, 8 May 2015 09:14:10 -0700
On Friday, May 8, 2015 at 8:56 AM, ANGELA EBIRIM wrote:
>
Hello,
>
>
I would really appreciate some assistance with this...
>
>
I'm trying to get a particular cookbook to run on a Ubuntu node. The node
>
is brand new and the first thing I did just after spinning up an instance
>
in AWS, did a chef-client on the command line (which should identify this
>
node to the Chef server) and then did a chef run -r
>
"recipe[cookbook_name::default]".
>
>
I received the following:-
>
Starting Chef Client, version 11.14.6
>
resolving cookbooks for run list: ["cookbook_name::default"]
>
Synchronizing Cookbooks:
>
- chef_handler
>
- windows
>
- logrotate
>
- cron
>
- chef-client
>
- cookbook_name
>
Compiling Cookbooks...
>
Converging 0 resources
>
>
Running handlers:
>
Running handlers complete
>
Chef Client finished, 0/0 resources updated in 3.269889693 seconds
>
>
>
Can you please tell me why the default recipe isn't being run?
Only the `cookbook_name::default` recipe will be run, unless it uses an
`include_recipe` statement to pull in other recipes. Setting dependencies at
the cookbook level will make chef pull them in for the chef-client run (as
you can see in your logs), but the run list (and include statement) controls
which recipes actually get run.
>
>
Many thanks
>
>
Sent from iCloud
--
Daniel DeLeo
Archive powered by MHonArc 2.6.16.