Customizing r10k configuration
Set parameters in Hiera to customize your r10k configuration.
The customize your configuration:
- In your control repo, open the
data/common.yaml
file. - Add parameters to the
pe_r10k
class. Use the following format:pe_r10k::<PARAMETER>: <SETTING>
For example, these parameters specify a Git repo cache directory and the location from which to fetch the source repository:
pe_r10k::cachedir: /var/cache/r10k pe_r10k::remote: git://git-server.site/my-org/main-modules
Some parameters are described in detail below, along with a list of all r10k parameters .
- Run Puppet on the primary server.
- Deploy environments with r10k. PE does not automatically run r10k after you configure it.