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. Unlike Code Manager's automated deployments, r10k requires you to 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.
-
You must set up r10k to use it as your code management tool.
-
To configure r10k in an existing Puppet Enterprise (PE) installation, set r10k parameters in the PE console. You can also use the console to adjust r10k settings.
-
Customizing r10k configuration
Set parameters in Hiera to customize your r10k configuration.
-
Deploying environments with r10k
Deploy environments on the command line with the r10k deploy command.
-
The r10k command accepts actions, options, and subcommands.