I installed chef 0.9.12 for testing usage of cookbook version in run list but it does include that support
E.g. I specified in one role the following run_list
run_list [
“recipe[accounts::service_account,0.0.0]”,
“recipe[accounts::user_account,0.0.0]”,
“recipe[accounts::ssh_keys,0.0.0]”
]
But get an error when running chef-client
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/…/lib/chef/cookbook_version.rb:461:in load_recipe': Cannot find a recipe matching service_account,0.0.0 in cookbook accounts (ArgumentError) from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/language_include_recipe.rb:40:in
include_recipe’
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/…/lib/chef/mixin/language_include_recipe.rb:27:in each' from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/language_include_recipe.rb:27:in
include_recipe’
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/…/lib/chef/run_context.rb:94:in load' from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/run_context.rb:91:in
each’
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/…/lib/chef/run_context.rb:91:in load' from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/run_context.rb:55:in
initialize’
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/…/lib/chef/client.rb:166:in new' from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/client.rb:166:in
run’
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/…/lib/chef/application/client.rb:222:in run_application' from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/application/client.rb:212:in
loop’
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/…/lib/chef/application/client.rb:212:in run_application' from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/application.rb:62:in
run’
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/chef-client:26
from /usr/bin/chef-client:19:in `load’
from /usr/bin/chef-client:19
I look at source and found nothing related to pach indicated in [CHEF-1423]
Huy Le
Tecnología ING DIRECT
Administrador de sistema
Tel: +34 91 206 76 85
Por favor, no imprima este correo si no es necesario.