routes.yaml: Advanced plugin routing
routes.yaml file overrides configuration settings involving
indirector termini, and allows termini to be set in greater detail than
routes.yaml file makes it possible to use certain extensions to Puppet, most notably PuppetDB.
Usually you edit this file only to make changes that are explicitly specified by the setup
instructions for an extension you are trying to install.
routes.yaml file is located at
$confdir/routes.yaml by default. Its location is configurable
The location of the
confdir depends on your
operating system. See the confdir documentation for details.
--- server: facts: terminus: puppetdb cache: yaml
routes.yaml file is a YAML hash.
Each top level key is the name of a run mode (
user), and its value is another hash.
Each key of the second-level hash is the name of an indirection, and its value is another hash.
The only keys allowed in the third-level hash are
cache. The value of each
of these keys is the name of a valid terminus for the indirection named above.