Hi everyone, I am trying to use the chef shell ‘chef-shell’ but I’ve not find a way to load any provider, does anyone as manage to do so? sudo chef-shell -z loading configuration: /etc/chef/client.rb Session type: client Loading...resolving cookbooks for run list: ["test"] … chef > attributes_mode chef:attributes > include_attribute 'yum' => true chef:attributes > include_attribute 'yum::epel' => true chef:attributes > exit => :attributes chef > recipe_mode chef:recipe > include_recipe 'yum' => [#<Chef::Recipe:0x00000003783f90 @cookbook_name="yum", @recipe_name="default", ... chef:recipe > include_recipe 'yum::yum' => [#<Chef::Recipe:0x0000000319ab88 ... chef:recipe > include_recipe 'yum::epel' NameError: Cannot find a resource for yum_key on centos version 6.4 from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/resource_platform_map.rb:126:in `get' from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/resource.rb:761:in `resource_for_platform' from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/resource.rb:778:in `resource_for_node' from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/dsl/recipe.rb:55:in `method_missing' from /var/chef/cache/cookbooks/yum/recipes/epel.rb:22:in `from_file' from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/mixin/from_file.rb:30:in `instance_eval' from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/mixin/from_file.rb:30:in `from_file' from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/cookbook_version.rb:346:in `load_recipe' from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/run_context.rb:151:in `load_recipe' from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/run_context.rb:132:in `block in include_recipe' from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/run_context.rb:131:in `each' from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/run_context.rb:131:in `include_recipe' from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/dsl/include_recipe.rb:26:in `include_recipe' from (irb#1):21 Regards, JM |
Archive powered by MHonArc 2.6.16.