Version information
released Aug 1st 2019
This version is compatible with:
- Puppet Enterprise 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x, 2017.2.x, 2016.4.x
- Puppet >= 4.10.0 < 7.0.0
Start using this module
Add this module to your Puppetfile:
mod 'thor77-g10k', '0.1.2'
Learn more about managing modules with a PuppetfileDocumentation
thor77/g10k — version 0.1.2 Aug 1st 2019
g10k
Manage and install g10k
Usage
class { 'g10k':
cfg => {
cachedir => '/var/cache/g10k',
},
sources => {
environment => {
remote => 'ssh://git@my.puppet.git:org/repo',
basedir => '/etc/puppetlabs/code/environment',
},
hiera => {
remote => 'ssh://git@my.puppet.git:org/repo',
basedir => '/etc/puppetlabs/code/hiera',
},
},
}
Limitations
- currently only supports Debian
- no tests
Reference
Table of Contents
Classes
g10k
: Install and configure g10kg10k::config
: Configure g10kg10k::install
: Install g10k from GitHub release archiveg10k::params
: Parameter class
Classes
g10k
Install and configure g10k
Parameters
The following parameters are available in the g10k
class.
version
Data type: String
Version to install
Default value: $g10k::params::version
repo
Data type: String
GitHub repo to download release from
Default value: $g10k::params::repo
install_path
Data type: String
Directory to install binary into
Default value: $g10k::params::install_path
config_path
Data type: String
Path to g10k config file
Default value: $g10k::params::config_path
cfg
Data type: Hash
Config options (beside sources)
Default value: {}
sources
Data type: Hash
Configuration for sources
Default value: {}
g10k::config
Configure g10k
g10k::install
Install g10k from GitHub release archive
g10k::params
Parameter class
Dependencies
- puppet/archive (>= 1.3.0)
- puppetlabs/stdlib (>= 4.5.0)