Puppet Class: puppet::agent::run
- Inherits:
- puppet::params
- Defined in:
- manifests/agent/run.pp
Summary
Puppet agent run commandOverview
Puppet agent run command
11 12 13 14 15 16 17 18 19 20 |
# File 'manifests/agent/run.pp', line 11
class puppet::agent::run (
Stdlib::Unixpath $puppet_path = $puppet::params::puppet_path,
String $options = '--test',
) inherits puppet::params {
# /opt/puppetlabs/puppet/bin/puppet agent --test
exec { 'puppet-agent-run':
command => "${puppet_path} agent ${options}",
returns => [0, 1, 2, 4, 6],
}
}
|