Access attributes for a databag using chef

157 Views Asked by At

I have a ruby script that references a databag's attributes. I would like to know if there is a way to reference databag attributes inside of a databag. Then, when i reference the databag attribute inside of my script, it would point me to another databag's attribute.

1

There are 1 best solutions below

0
On BEST ANSWER

No. Data bags are just JSON. They are not a programming language, so this is not possible.