Puppet Class: r10k::install::puppet_gem
- Defined in:
- manifests/install/puppet_gem.pp
Overview
This class links the r10k binary for Puppet FOSS 4.2 and up
2 3 4 5 6 7 8 9 10 |
# File 'manifests/install/puppet_gem.pp', line 2
class r10k::install::puppet_gem {
if versioncmp("${::facts['puppetversion']}", '4.2.0') >= 0 { #lint:ignore:only_variable_string
file { '/usr/bin/r10k':
ensure => link,
target => '/opt/puppetlabs/puppet/bin/r10k',
require => Package['r10k'],
}
}
}
|