Hiera Couchdb Http Paths Order

asked 2017-04-27 08:32:28 -0600

pkrawetzky gravatar image

updated 2018-04-10 09:34:50 -0600

Mr_Sharma gravatar image

When configuring the :http: section, you can specify a :paths: options where you identify a database or some other database name, then you specify a document(s). Does the order of multiple paths relate to the search order done by hiera when it uses Couchdb for the lookup?


    - /hieradb/%{::clientcert}
    - /%{::environment}/%{::aetna_role}
    - /%{::environment}/common
    - /hieradb/%{::aetna_role}
    - /hieradb/common

Will hiera start at the first path, if not found go to the next path, etc etc?

edit retag flag offensive close merge delete