Revision 4264a4d4
Added by Greg Sutcliffe over 11 years ago
manifests/server/config.pp | ||
---|---|---|
|
||
exec {'generate_ca_cert':
|
||
creates => "${puppet::server::ssl_dir}/certs/${::fqdn}.pem",
|
||
command => "puppetca --generate ${::fqdn}",
|
||
command => "${puppet::params::puppetca_bin} --generate ${::fqdn}",
|
||
path => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
|
||
}
|
||
|
Also available in: Unified diff
Correctly determine the puppet command on old and new puppet systems
(Credit to Bill ONeill <woneill@pobox.com> for the initial work)