[chef] Re: Re: Cookbook Upload Error


Chronological Thread 
  • From: Bryan Baugher < >
  • To:
  • Subject: [chef] Re: Re: Cookbook Upload Error
  • Date: Wed, 14 Dec 2011 15:45:06 -0600

Thank you that fixed my problem. Now I have permission troubles....

On Wed, Dec 14, 2011 at 3:36 PM, Paul Morton - BIA < "> > wrote:
gem install win32-process


On Dec 14, 2011, at 12:57 PM, < "> > wrote:

> Running on Win7 x64. I have had no troubles with chef 0.10.4 but upgrading to
> chef 0.10.6 and running knife cookbook upload gives me this error,
>
> C:\Users\*****>knife cookbook upload tomcat -c chef/knife.rb
> <internal:lib/rubygems/custom_require>:29:in `require': no such file to load --
> win32/process (LoadError)
>       from <internal:lib/rubygems/custom_require>:29:in `require'
>       from
> C:/Ruby192/lib/ruby/gems/1.9.1/gems/chef-0.10.6/lib/chef/shell_out/windows.rb:20:in
> `<top (required)>'
>       from <internal:lib/rubygems/custom_require>:29:in `require'
>       from <internal:lib/rubygems/custom_require>:29:in `require'
>       from
> C:/Ruby192/lib/ruby/gems/1.9.1/gems/chef-0.10.6/lib/chef/shell_out.rb:46:in
> `<class:ShellOut>'
>       from
> C:/Ruby192/lib/ruby/gems/1.9.1/gems/chef-0.10.6/lib/chef/shell_out.rb:39:in
> `<class:Chef>'
>       from
> C:/Ruby192/lib/ruby/gems/1.9.1/gems/chef-0.10.6/lib/chef/shell_out.rb:25:in
> `<top (required)>'
>       from <internal:lib/rubygems/custom_require>:29:in `require'
>       from <internal:lib/rubygems/custom_require>:29:in `require'
>       from
> C:/Ruby192/lib/ruby/gems/1.9.1/gems/chef-0.10.6/lib/chef/mixin/shell_out.rb:18:in
> `<top (required)>'
>       from <internal:lib/rubygems/custom_require>:29:in `require'
>       from <internal:lib/rubygems/custom_require>:29:in `require'
>       from
> C:/Ruby192/lib/ruby/gems/1.9.1/gems/chef-0.10.6/lib/chef/resource/conditional.rb:19:in
> `<top (required)>'
>       from <internal:lib/rubygems/custom_require>:29:in `require'
>       from <internal:lib/rubygems/custom_require>:29:in `require'
>       from
> C:/Ruby192/lib/ruby/gems/1.9.1/gems/chef-0.10.6/lib/chef/resource.rb:24:in
> `<top (required)>'
>       from <internal:lib/rubygems/custom_require>:29:in `require'
>       from <internal:lib/rubygems/custom_require>:29:in `require'
>       from
> C:/Ruby192/lib/ruby/gems/1.9.1/gems/chef-0.10.6/lib/chef/mixin/recipe_definition_dsl_core.rb:20:in
> `<top (required)>'
>       from <internal:lib/rubygems/custom_require>:29:in `require'
>       from <internal:lib/rubygems/custom_require>:29:in `require'
>       from
> C:/Ruby192/lib/ruby/gems/1.9.1/gems/chef-0.10.6/lib/chef/provider.rb:22:in
> `<top (required)>'
>       from <internal:lib/rubygems/custom_require>:29:in `require'
>       from <internal:lib/rubygems/custom_require>:29:in `require'
>       from
> C:/Ruby192/lib/ruby/gems/1.9.1/gems/chef-0.10.6/lib/chef/platform.rb:26:in
> `<top (required)>'
>       from <internal:lib/rubygems/custom_require>:29:in `require'
>       from <internal:lib/rubygems/custom_require>:29:in `require'
>       from
> C:/Ruby192/lib/ruby/gems/1.9.1/gems/chef-0.10.6/lib/chef/client.rb:26:in `<top
> (required)>'
>       from <internal:lib/rubygems/custom_require>:29:in `require'
>       from <internal:lib/rubygems/custom_require>:29:in `require'
>       from
> C:/Ruby192/lib/ruby/gems/1.9.1/gems/chef-0.10.6/lib/chef/cookbook_version.rb:23:in
> `<top (required)>'
>       from <internal:lib/rubygems/custom_require>:29:in `require'
>       from <internal:lib/rubygems/custom_require>:29:in `require'
>       from
> C:/Ruby192/lib/ruby/gems/1.9.1/gems/chef-0.10.6/lib/chef/cookbook/cookbook_version_loader.rb:3:in
> `<top (required)>'
>       from <internal:lib/rubygems/custom_require>:29:in `require'
>       from <internal:lib/rubygems/custom_require>:29:in `require'
>       from
> C:/Ruby192/lib/ruby/gems/1.9.1/gems/chef-0.10.6/lib/chef/cookbook_loader.rb:23:in
> `<top (required)>'
>       from <internal:lib/rubygems/custom_require>:29:in `require'
>       from <internal:lib/rubygems/custom_require>:29:in `require'
>       from
> C:/Ruby192/lib/ruby/gems/1.9.1/gems/chef-0.10.6/lib/chef/knife/cookbook_upload.rb:32:in
> `block in <class:CookbookUpload>'
>       from
> C:/Ruby192/lib/ruby/gems/1.9.1/gems/chef-0.10.6/lib/chef/knife.rb:202:in `call'
>       from
> C:/Ruby192/lib/ruby/gems/1.9.1/gems/chef-0.10.6/lib/chef/knife.rb:202:in
> `load_deps'
>       from
> C:/Ruby192/lib/ruby/gems/1.9.1/gems/chef-0.10.6/lib/chef/knife.rb:163:in `run'
>       from
> C:/Ruby192/lib/ruby/gems/1.9.1/gems/chef-0.10.6/lib/chef/application/knife.rb:128:in
> `run'
>       from C:/Ruby192/lib/ruby/gems/1.9.1/gems/chef-0.10.6/bin/knife:25:in
> `<top (required)>'
>       from C:/Ruby192/bin/knife:19:in `load'
>       from C:/Ruby192/bin/knife:19:in `<main>'




--
-Bryan



Archive powered by MHonArc 2.6.16.

§