r10k
: This class configures r10kr10k::install::bundle
: This class installs the r10k bundler10k::install::puppet_gem
: This class links the r10k binary for Puppet FOSS 4.2 and upr10k::mcollective
: Install the r10k mcollective agentr10k::mcollective::application
: Install the r10k mcollective application to a clientr10k::params
: Reasonable defaults for all classesr10k::postrun_command
: This class will configure r10k to run as part of the masters agent runr10k::prerun_command
: This class will configure r10k to run as part of the masters agent runr10k::webhook
: install and configure the webhook-go package as local webhook receiver to trigger r10k runsr10k::webhook::config
: Class: r10k::webhook::configr10k::webhook::package
: Class: r10k::webhook::packager10k::webhook::service
: Class: r10k::webhook::service
r10k::config
: Set up the root r10k config file (/etc/r10k.yaml).r10k::install
: This class is used by the ruby or pe_ruby class
R10k::Webhook::Config
: webhook config typeR10k::Webhook::Config::Chatops
: webhook config chatops typeR10k::Webhook::Config::R10k
: webhook config r10k typeR10k::Webhook::Config::Server
: webhook config server typeR10k::Webhook::Config::Server::Tls
: webhook config server tls type
deploy
: Trigger an r10k deployment.
This class configures r10k
The following parameters are available in the r10k
class:
remote
configfile
version
puppet_master
modulepath
manage_modulepath
r10k_basedir
package_name
provider
gentoo_keywords
install_options
mcollective
git_settings
deploy_settings
root_user
gem_source
root_group
include_prerun_command
include_postrun_command
puppetconf_path
cachedir
sources
postrun
manage_configfile_symlink
configfile_symlink
forge_settings
proxy
pool_size
ensure
Data type: String[1]
Default value: $r10k::params::remote
Data type: Stdlib::Absolutepath
Default value: '/etc/puppetlabs/r10k/r10k.yaml'
Data type: String[1]
Default value: $r10k::params::version
Data type: Boolean
Default value: $r10k::params::puppet_master
Data type: String[1]
Default value: $r10k::params::modulepath
Data type: Boolean
Default value: $r10k::params::manage_modulepath
Data type: Stdlib::Absolutepath
Default value: $r10k::params::r10k_basedir
Data type: String[1]
Default value: $r10k::params::package_name
Data type: String[1]
Default value: $r10k::params::provider
Data type: String
Default value: ''
Data type: Variant[Array,String]
Default value: []
Data type: Boolean
Default value: $r10k::params::mcollective
Data type: Optional[Hash]
Default value: undef
Data type: Hash
Default value: { 'generate_types' => true, 'exclude_spec' => true, }
Data type: String[1]
Default value: $r10k::params::root_user
Data type: Optional[String[1]]
Default value: undef
Data type: String[1]
Default value: $r10k::params::root_group
Data type: Boolean
Default value: false
Data type: Boolean
Default value: false
Data type: Stdlib::Absolutepath
Default value: $r10k::params::puppetconf_path
Data type: Stdlib::Absolutepath
Path to a directory to be used by r10k for caching data
Default value: "${facts['puppet_vardir']}/r10k"
Data type: Optional[Hash]
Hash containing data sources to be used by r10k to create dynamic Puppet environments
Default value: undef
Data type: Optional[Array[String[1]]]
Array containing the parts of a system call Example: ['/usr/bin/curl', '-F', 'deploy=done', 'http://my-app.site/endpoint']
Default value: undef
Data type: Boolean
determine if a symlink to the r10k config file is to be managed
Default value: false
Data type: Stdlib::Absolutepath
Location of symlink that points to configfile
Default value: '/etc/r10k.yaml'
Data type: Optional[Hash]
Hash containing settings for downloading modules from the Puppet Forge
Default value: undef
Data type: Optional[String[1]]
String containing proxy setting for r10k.yaml
Default value: undef
Data type: Integer[1]
Integer defining how many threads should be spawn while updating modules
Default value: $facts['processors']['count']
Data type: Enum['absent','present']
if r10k should be installed or purged
Default value: 'present'
This class installs the r10k bundle
The following parameters are available in the r10k::install::bundle
class:
Data type: String[1]
Default value: 'master'
Data type: String[1]
Default value: 'https://github.com/adrienthebo/r10k.git'
This class links the r10k binary for Puppet FOSS 4.2 and up
Install the r10k mcollective agent
The following parameters are available in the r10k::mcollective
class:
Data type: String[1]
Default value: 'present'
Data type: Boolean
Default value: true
Data type: Boolean
Default value: true
Data type: String
Default value: ''
Data type: Array
Default value: []
Install the r10k mcollective application to a client
The following parameters are available in the r10k::mcollective::application
class:
Data type: Optional[String]
Default value: $r10k::params::mc_agent_name
Data type: Optional[String]
Default value: $r10k::params::mc_app_name
Data type: Optional[String]
Default value: $r10k::params::mc_agent_ddl_name
Data type: Optional[String]
Default value: $r10k::params::mc_agent_path
Data type: Optional[String]
Default value: $r10k::params::mc_application_path
Data type: Optional[String]
Default value: $r10k::params::mc_service_name
Reasonable defaults for all classes
This class will configure r10k to run as part of the masters agent run
The following parameters are available in the r10k::postrun_command
class:
Data type: String[1]
Default value: $r10k::params::pre_postrun_command
Data type: Enum['present', 'absent']
Default value: 'present'
This class will configure r10k to run as part of the masters agent run
The following parameters are available in the r10k::prerun_command
class:
Data type: String[1]
Default value: $r10k::params::pre_postrun_command
Data type: Enum['present', 'absent']
Default value: 'present'
install and configure the webhook-go package as local webhook receiver to trigger r10k runs
The following parameters are available in the r10k::webhook
class:
install_method
ensure
version
service_ensure
service_enabled
config_ensure
config_path
chatops
tls
server
r10k
config
Data type: Enum['package', 'repo', 'none']
how the package should be installed
Default value: 'package'
Data type: Boolean
Default value: false
Data type: String
Default value: '2.2.0'
Data type:
Variant[
Enum['running', 'stopped'],
Boolean
]
Default value: 'running'
Data type: Boolean
Default value: true
Data type: String
Default value: 'file'
Data type: String
Default value: '/etc/voxpupuli/webhook.yml'
Data type: R10k::Webhook::Config::ChatOps
Default value:
{
enabled => false,
service => undef,
channel => undef,
user => undef,
auth_token => undef,
server_uri => undef,
}
Data type: R10k::Webhook::Config::Server::Tls
Default value:
{
enabled => false,
certificate => undef,
key => undef,
}
Data type: R10k::Webhook::Config::Server
Default value:
{
protected => true,
user => 'puppet',
password => 'puppet',
port => 4000,
tls => $tls,
}
Data type: R10k::Webhook::Config::R10k
Default value:
{
command_path => '/opt/puppetlabs/puppet/bin/r10k',
config_path => '/etc/puppetlabs/r10k/r10k.yaml',
default_branch => 'production',
prefix => undef,
allow_uppercase => false,
verbose => true,
deploy_modules => true,
generate_types => true,
}
Data type: R10k::Webhook::Config
Default value:
{
server => $server,
chatops => $chatops,
r10k => $r10k,
}
Class: r10k::webhook::config
Class: r10k::webhook::package
Class: r10k::webhook::service
webhook config type
Alias of
Struct[{
server => Optional[R10k::Webhook::Config::Server],
chatops => Optional[R10k::Webhook::Config::Chatops],
r10k => Optional[R10k::Webhook::Config::R10k],
}]
webhook config chatops type
Alias of
Struct[{
enabled => Boolean,
service => Optional[Enum['slack', 'rocketchat']],
channel => Optional[String[1]],
user => Optional[String[1]],
auth_token => Optional[String[1]],
server_uri => Optional[String[1]],
}]
webhook config r10k type
Alias of
Struct[{
command_path => Optional[Stdlib::Absolutepath],
config_path => Optional[Stdlib::Absolutepath],
default_branch => Optional[String[1]],
prefix => Optional[String[1]],
allow_uppercase => Optional[Boolean],
verbose => Optional[Boolean],
deploy_modules => Optional[Boolean],
generate_types => Optional[Boolean],
}]
webhook config server type
Alias of
Struct[{
protected => Boolean,
user => Optional[String[1]],
password => Optional[String[1]],
port => Optional[Stdlib::Port],
tls => Optional[R10k::Webhook::Config::Server::Tls],
}]
webhook config server tls type
Alias of
Struct[{
enabled => Boolean,
certificate => Optional[Stdlib::Absolutepath],
key => Optional[Stdlib::Absolutepath],
}]
Trigger an r10k deployment.
Supports noop? false
Data type: Optional[Pattern[/\A[a-zA-Z0-9_]+\Z/]]
The environment to deploy.
Data type: Optional[Pattern[/\A[a-zA-Z0-9_,]+\Z/]]
A comma separated list of environments to deploy. Takes precedence over environment
.
Data type: Optional[Pattern[/\A[a-z0-9_]+\Z/]]
A module to deploy across all environments.
Data type: Optional[Pattern[/\A[a-z0-9_,]+\Z/]]
A comma separated list of modules to deploy. Takes precedence over module
.