Bershelf not installing anything in ~/.berkshelf


#1

Hi 5 stars Chefs,

I’m trying to learn Berks, and I’m not able to execute it.
While running berks install on one of my cookbooks, it says it’s ok.
But nothing is on my ~/.berkshelf/cookbooks, also debug says that the cookbook
is already here ( DEBUG – : Already installed - skipping install).

I’m running the latest chef-dk on macosx, my path looks ok (export
PATH=$HOME/.chefdk/gem/ruby/2.1.0/bin:/opt/chefdk/bin:/opt/chefdk/embedded/bin:/opt/chefdk/bin/:$PATH)

Best regards,

Charlie


#2

here’s the full stack, but it doesn’t help though…

pc39:hostsops charliemordant$ berks install -d
I, [2014-12-14T22:02:26.448913 #6338] INFO – : Reducing lockfile
D, [2014-12-14T22:02:26.448996 #6338] DEBUG – : Current lockfile:
D, [2014-12-14T22:02:26.449017 #6338] DEBUG – :
D, [2014-12-14T22:02:26.449291 #6338] DEBUG – : DEPENDENCIES
D, [2014-12-14T22:02:26.449324 #6338] DEBUG – : hostsops
D, [2014-12-14T22:02:26.449350 #6338] DEBUG – : path: .
D, [2014-12-14T22:02:26.449364 #6338] DEBUG – : metadata: true
D, [2014-12-14T22:02:26.449377 #6338] DEBUG – :
D, [2014-12-14T22:02:26.449391 #6338] DEBUG – : GRAPH
D, [2014-12-14T22:02:26.449403 #6338] DEBUG – : hostsops (0.1.0)
D, [2014-12-14T22:02:26.449414 #6338] DEBUG – :
D, [2014-12-14T22:02:26.449471 #6338] DEBUG – : Unlocking dependencies no
longer in the Berksfile
D, [2014-12-14T22:02:26.449499 #6338] DEBUG – : Checking hostsops (>=
0.0.0)
D, [2014-12-14T22:02:26.449526 #6338] DEBUG – : Skipping unlock for
hostsops (exists in the Berksfile)
D, [2014-12-14T22:02:26.449538 #6338] DEBUG – : Removing transitive
dependencies
D, [2014-12-14T22:02:26.449556 #6338] DEBUG – : Checking hostsops (>=
0.0.0)
D, [2014-12-14T22:02:26.450214 #6338] DEBUG – : Using ‘chefignore’ at
’/Users/charliemordant/git/net.osgiliath.server.vagrant/chef-repo/cookbooks/hostsops/chefignore’
D, [2014-12-14T22:02:26.454543 #6338] DEBUG – : Cached cookbook exists
D, [2014-12-14T22:02:26.454578 #6338] DEBUG – : Checking dependencies
on the cached cookbook
D, [2014-12-14T22:02:26.454617 #6338] DEBUG – : New lockfile:
D, [2014-12-14T22:02:26.454629 #6338] DEBUG – :
D, [2014-12-14T22:02:26.454654 #6338] DEBUG – : DEPENDENCIES
D, [2014-12-14T22:02:26.454666 #6338] DEBUG – : hostsops
D, [2014-12-14T22:02:26.454678 #6338] DEBUG – : path: .
D, [2014-12-14T22:02:26.454688 #6338] DEBUG – : metadata: true
D, [2014-12-14T22:02:26.454699 #6338] DEBUG – :
D, [2014-12-14T22:02:26.454709 #6338] DEBUG – : GRAPH
D, [2014-12-14T22:02:26.454720 #6338] DEBUG – : hostsops (0.1.0)
D, [2014-12-14T22:02:26.454730 #6338] DEBUG – :
Resolving cookbook dependencies…
I, [2014-12-14T22:02:26.454783 #6338] INFO – : Checking if lockfile is
trusted
D, [2014-12-14T22:02:26.454805 #6338] DEBUG – : Checking hostsops (0.1.0)
D, [2014-12-14T22:02:26.454823 #6338] DEBUG – : Detected there is a
cached cookbook
D, [2014-12-14T22:02:26.455013 #6338] DEBUG – : Checking transitive
dependencies for hostsops (0.1.0)
I, [2014-12-14T22:02:26.455036 #6338] INFO – : Installing from lockfile
D, [2014-12-14T22:02:26.455086 #6338] DEBUG – : Dependencies
D, [2014-12-14T22:02:26.455103 #6338] DEBUG – : hostsops (0.1.0)

2014-12-14 21:13 GMT+01:00 cmordant1@gmail.com:

Hi 5 stars Chefs,

I’m trying to learn Berks, and I’m not able to execute it.
While running berks install on one of my cookbooks, it says it’s ok.
But nothing is on my ~/.berkshelf/cookbooks, also debug says that the
cookbook
is already here ( DEBUG – : Already installed - skipping install).

I’m running the latest chef-dk on macosx, my path looks ok (export

PATH=$HOME/.chefdk/gem/ruby/2.1.0/bin:/opt/chefdk/bin:/opt/chefdk/embedded/bin:/opt/chefdk/bin/:$PATH)

Best regards,

Charlie


Charlie Mordant

Full OSGI/EE stack made with Karaf: