[chef] Berkshelf with own modified cookbooks


Chronological Thread 
  • From: Cyril Scetbon < >
  • To:
  • Subject: [chef] Berkshelf with own modified cookbooks
  • Date: Sun, 19 Oct 2014 11:29:47 +0200

Hey guys,

I'm using Berskhelf with a custom version of cassandra (0.2.5) cookbook. For example, I've added dependancies in the "metadata.rb".
When I install the cookbook, berks uses my version except when it generates the graph of dependancies :

Fetching 'cassandra' from source at ../../custom_versions/cookbooks/cassandra

D, [2014-10-19T11:25:33.753038 #47923] DEBUG -- :   DEPENDENCIES
D, [2014-10-19T11:25:33.753068 #47923] DEBUG -- :     apt
D, [2014-10-19T11:25:33.753088 #47923] DEBUG -- :     cassandra
D, [2014-10-19T11:25:33.753107 #47923] DEBUG -- :       path: ../../custom_versions/cookbooks/cassandra
....
D, [2014-10-19T11:25:33.753228 #47923] DEBUG -- :
D, [2014-10-19T11:25:33.753245 #47923] DEBUG -- :   GRAPH
D, [2014-10-19T11:25:33.753265 #47923] DEBUG -- :     apt (2.6.0)
D, [2014-10-19T11:25:33.753283 #47923] DEBUG -- :     boost (0.2.0)
D, [2014-10-19T11:25:33.753300 #47923] DEBUG -- :       build-essential (>= 0.0.0)
D, [2014-10-19T11:25:33.753319 #47923] DEBUG -- :     build-essential (2.1.2)
D, [2014-10-19T11:25:33.753337 #47923] DEBUG -- :     cassandra (0.2.4)
D, [2014-10-19T11:25:33.753372 #47923] DEBUG -- :       apt (>= 0.0.0)
D, [2014-10-19T11:25:33.753390 #47923] DEBUG -- :       install_from (>= 0.0.0)
D, [2014-10-19T11:25:33.753407 #47923] DEBUG -- :       iptables (>= 0.0.0)
D, [2014-10-19T11:25:33.753423 #47923] DEBUG -- :       java (>= 0.0.0)
D, [2014-10-19T11:25:33.753440 #47923] DEBUG -- :       metachef (>= 0.0.0)
D, [2014-10-19T11:25:33.753456 #47923] DEBUG -- :       runit (>= 0.0.0)
D, [2014-10-19T11:25:33.753473 #47923] DEBUG -- :       thrift (>= 0.0.0)
D, [2014-10-19T11:25:33.753492 #47923] DEBUG -- :       volumes (>= 0.0.0)

I can use my own name for the cookbook, but if there is a better way tell me.

Thanks !
-- 
Cyril SCETBON




Archive powered by MHonArc 2.6.16.

§