I created two environments in my node (dev and production).
I would like to provide good defaults for each environments using different hiera files. My first approach was to combine defaults in one hiera file (common.yaml) and it works really great.
Now, I would like to split defaults for each environment.
I updated my hiera.yaml with - "%{::environment}" :
Hi,
I created two environments in my node (dev and production).
I would like to provide good defaults for each environments using different hiera files. My first approach was to combine defaults in one hiera file (common.yaml) and it works really great.
Now, I would like to split defaults for each environment.
I updated my hiera.yaml with
- "%{::environment}"
:Then in the data folder of my module, alongside common.yaml, I created two files
dev.yaml
andproduction.yaml
.But the settings, I put in those files are not retrieved.
Am I missing something ?
Thanks,