Managing code with r10k
r10k is a code management tool that allows you to manage your environment configurations (such as production, testing, and development) in a source control repository. You must manually deploy code changes from your control repository using the r10k command line tool on your primary server and all compilers.
Based on the code in your control repository branches, r10k creates environments on your primary server and also installs and updates the modules you want in each environment.
-
Set up r10k
Set up r10k as your code management tool before you begin. -
Configure r10k
To configure r10k in an existing PE installation, set r10k parameters in the console. You can also adjust r10k settings in the console. -
Customizing r10k configuration
If you need a customized r10k configuration, you can set specific parameters with Hiera. -
Deploying environments with r10k
Deploy environments on the command line with ther10k
command. -
r10k command reference
r10k accepts several command line actions, with options and subcommands.