Recipe Compile Error in /var/chef/cache/cookbooks/windows/libraries/windows_package.rb - require 'ch

437 views
Skip to first unread message

David Montgomery

unread,
Apr 16, 2018, 9:04:20 PM4/16/18
to opscode-chef-openstack


WHY!  Chef..why is this happing?  I dont even now which other cookbook is using this package.  How do I resolve?  Chef is this your cookbook?  Dod you write?


================================================================================

Recipe Compile Error in /var/chef/cache/cookbooks/windows/libraries/windows_package.rb

================================================================================


LoadError

---------

cannot load such file -- chef/mixin/language


Cookbook Trace:

---------------

  /var/chef/cache/cookbooks/windows/libraries/windows_package.rb:7:in `<top (required)>'


Relevant File Content:

----------------------

/var/chef/cache/cookbooks/windows/libraries/windows_package.rb:


  1:  require 'chef/resource/lwrp_base'

  2:  require 'chef/provider/lwrp_base'

  3:  

  4:  require 'win32/registry' if RUBY_PLATFORM =~ /mswin|mingw32|windows/

  5:  

  6:  require 'chef/mixin/shell_out'

  7>> require 'chef/mixin/language'

  8:  class Chef

  9:    class Provider

 10:      class WindowsCookbookPackage < Chef::Provider::LWRPBase # ~FC058

 11:        include Chef::Mixin::ShellOut

 12:        include Windows::Helper

 13:  

 14:        use_inline_resources if defined?(use_inline_resources)

 15:  

 16:        # the logic in all action methods mirror that of


System Info:

------------

chef_version=14.0.202

platform=ubuntu

platform_version=16.04

ruby=ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux]

program_name=/usr/bin/chef-solo

executable=/opt/chef/bin/chef-solo



Running handlers:

[2018-04-17T00:58:49+00:00] ERROR: Running exception handlers

Running handlers complete

[2018-04-17T00:58:49+00:00] ERROR: Exception handlers complete

Chef Client failed. 0 resources updated in 20 seconds

JJ Asghar

unread,
Apr 16, 2018, 9:12:50 PM4/16/18
to opscode-che...@googlegroups.com
Hi David, this list is only around to legacy reasons and no longer active.

Please reach out to the http://community-slack.chef.io/ for any real time help, or the http://discourse.chef.io/ for mail list type help.
--
You received this message because you are subscribed to the Google Groups "opscode-chef-openstack" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opscode-chef-open...@googlegroups.com.
To post to this group, send email to opscode-che...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/opscode-chef-openstack/ad0311d8-77c6-4f94-9f72-47ea3ebe4226%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Best Regards,
JJ Asghar
Chef, Technical Alliances

David Montgomery

unread,
Apr 16, 2018, 9:43:45 PM4/16/18
to opscode-chef-openstack
Chef....what did you do?

I removed java which used windows.  

JJ Asghar

unread,
Apr 16, 2018, 9:47:58 PM4/16/18
to opscode-che...@googlegroups.com
Hi David, this list is only around to legacy reasons and no longer active. 

Please reach out to the http://community-slack.chef.io/ for any real time help, or the http://discourse.chef.io/ for mail list type help.

--
You received this message because you are subscribed to the Google Groups "opscode-chef-openstack" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opscode-chef-open...@googlegroups.com.
To post to this group, send email to opscode-che...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Joaquin Menchaca

unread,
Jun 17, 2018, 5:18:59 AM6/17/18
to opscode-chef-openstack
Anyone figure this out?  (Slack is hard to search for historical issues than google groups, two very different tools for very different purposes)
Reply all
Reply to author
Forward
0 new messages