[chef] Java cookbook error on OSX


Chronological Thread 
  • From: Mukta A < >
  • To:
  • Subject: [chef] Java cookbook error on OSX
  • Date: Mon, 10 Nov 2014 07:06:46 -0500

Hi

I am getting this error while trying to run the Java cookbook on OSX (https://supermarket.getchef.com/cookbooks/java ) -

Compiling Cookbooks...

Converging 4 resources

Recipe: java::openjdk

  * package[openjdk-6-jdk] action install

    

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

    Error executing action `install` on resource 'package[openjdk-6-jdk]'

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

    

    Errno::ENOENT

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

    No such file or directory - port

    

    Resource Declaration:

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

    # In /var/chef/cache/cookbooks/java/recipes/openjdk.rb

    

     46:   package pkg do

     47:     version node['java']['openjdk_version'] if node['java']['openjdk_version']

     48:   end

     49: end

    

    Compiled Resource:

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

    # Declared in /var/chef/cache/cookbooks/java/recipes/openjdk.rb:46:in `block in from_file'

    

    package("openjdk-6-jdk") do

      action :install

      retries 0

      retry_delay 2

      guard_interpreter :default

      package_name "openjdk-6-jdk"

      timeout 900

      cookbook_name "java"

      recipe_name "openjdk"

    end

    


Please help.

Thanks,

Mukta.




Archive powered by MHonArc 2.6.16.

§