Hiera Couchdb Http Paths Order

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

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}/%{::aetnarole} - /%{::environment}/common - /hieradb/%{::aetnarole} - /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