[chef] Overriding attributes


Chronological Thread 
  • From: Jeffrey Jones < >
  • To:
  • Subject: [chef] Overriding attributes
  • Date: Fri, 28 Jun 2013 17:55:01 +0900
  • Organization: Toppan Forms

Hello all

I have a list of default users I would like for my DB and am attempting to combine them with ones set in an attribute.json file used by chef solo. The relevant code is below

https://gist.github.com/rurounijones/5883385

If there is nothing set in the json file then it write the 3 default values to pg_hba.conf

However if there are values set in the json then ONLY the values in the .json file are used. They are not merged in with the default_db_users despite my setting of them (I tried everything up to force_override which, as far as I see it, should take precedence),

Am I missing something here?

Cheers

Jeff




  • [chef] Overriding attributes, Jeffrey Jones, 06/28/2013

Archive powered by MHonArc 2.6.16.

§