Puppet Class: puppet::agent::bootstrap
- Inherits:
- puppet::params
- Defined in:
- manifests/agent/bootstrap.pp
Summary
Puppet bootstrap commandsOverview
Puppet bootstrap commands
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
# File 'manifests/agent/bootstrap.pp', line 13
class puppet::agent::bootstrap (
Stdlib::Unixpath $puppet_path = $puppet::params::puppet_path,
String $options = '--test',
Stdlib::Unixpath $hostprivkey = $puppet::params::hostprivkey,
Stdlib::Unixpath $hostcert = $puppet::params::hostcert,
) inherits puppet::params {
# /opt/puppetlabs/puppet/bin/puppet agent --test
exec {
default:
command => "${puppet_path} agent ${options}",
returns => [0, 1, 2, 4, 6],
;
'puppet-bootstrap-privkey':
creates => $hostprivkey,
;
'puppet-bootstrap-cert':
creates => $hostcert,
;
}
}
|