Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hiera Couchdb Http Paths Order

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?

Example: :paths: - /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?

click to hide/show revision 2
None

Hiera Couchdb Http Paths Order

When configuring the :http: :http: section, you can specify a :paths: :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?

Example: Example:

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

/hieradb/common

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