Puppet Class: psick::puppet::ci
- Defined in:
- manifests/puppet/ci.pp
Overview
Manages /etc/puppetlabs/ci.conf file, used by Puppet CI scripts under Psickās control-repo bin directory This file contains the names of the node where to run specific Puppet CI steps.
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'manifests/puppet/ci.pp', line 5
class psick::puppet::ci (
String $ensure = 'present',
String $config_file_path = '/etc/puppetlabs/ci.conf',
Variant[Undef,String] $template = 'psick/puppet/ci/ci.conf.erb',
Hash $options = { },
Array $default_nodes = [],
Array $always_nodes = [],
) {
$options_default = {
default_nodes => $default_nodes,
always_nodes => $always_nodes,
}
$parameters = $options_default + $options
file { $config_file_path:
ensure => $ensure ,
content => template($template),
}
}
|