- From: Sam Darwin <
>
- To:
- Subject: [chef] default recipe
- Date: Fri, 2 May 2014 07:55:23 -0700 (PDT)
Hi,
Is the default recipe synonymous with the cookbook name? For example,
"recipe[sudo]" is the same as "recipe[sudo::default]" ?
I am applying some cookbooks via a role. In the role, it says "recipe[sudo]"
.
not "recipe[sudo::default]".
On a new test environment, with the very latest versions of open source chef,
this happens:
Node Name: server.example.com
Environment: _default
FQDN: server.example.com
IP: 54.198.114.2
Run List: role[production]
Roles: production, monclient
Recipes: miscellaneous, sudo, ssh-mini, user::data_bag, nagios::client,
munin::client, miscellaneous::default, sudo::default, ssh-mini::default,
nagios::client_package
Platform: ubuntu 12.04
Tags:
Notice how some recipes are mentioned twice now... both sudo and
sudo::default
are in the run_list. both miscellaneous and miscellaneous::default are in
the list. That seems to be happening automatically. It's expanding, and
duplicating, the recipes. I believe this used to be more
behind-the-scenes,
and not shown in the run_list twice.
- [chef] default recipe, Sam Darwin, 05/02/2014
Archive powered by MHonArc 2.6.16.