Variable overwriting

Michael,

What’s the intended behavior about variable re-definition? Will later vars_files overwrite earlier ones?

I guess that leads to a best practice problem. Use case is variable for a webserver, web app, and configuration, which has minor tweaks for a development server. My thought was a standard vars_file read by production, qa, and dev, then another vars_file with the dev server overrides.

Thanks,
–Brad

Michael,

What’s the intended behavior about variable re-definition? Will later vars_files overwrite earlier ones?

Yes. It’s an ordered list.

I guess that leads to a best practice problem. Use case is variable for a webserver, web app, and configuration, which has minor tweaks for a development server. My thought was a standard vars_file read by production, qa, and dev, then another vars_file with the dev server overrides.

You could still do that.

Great, thanks for confirming that!