[chef] LWRP to extends another cookbook LWRP


Chronological Thread 
  • From: Giovanni Toraldo < >
  • To:
  • Subject: [chef] LWRP to extends another cookbook LWRP
  • Date: Thu, 14 May 2015 14:42:24 +0200

Hi,

I just want to define a new LWRP to define some different defaults for
attributes of another LWRP.

Googling I've found this: http://stackoverflow.com/a/20732016/547195

And I've tried with: https://gist.github.com/gionn/6497eefdf9121c832b0e

But I am getting a recipe compile error:

Chef::Exceptions::InvalidResourceSpecification
You must specify `resource_name'!
/tmp/gionn_chef/cookbooks/cd-infrastructure/definitions/my_docker_container.rb:4:in
`initialize'

Any suggestions?

Thanks!

-- 
Giovanni Toraldo
http://gionn.net



Archive powered by MHonArc 2.6.16.

§