Puppet Class: puppet::agent::bootstrap
- Inherits:
- puppet::params
- Defined in:
- manifests/agent/bootstrap.pp
Summary
Puppet bootstrap commandsOverview
Puppet bootstrap commands
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'manifests/agent/bootstrap.pp', line 7
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,
;
}
}
|