Project

General

Profile

« Previous | Next » 

Revision 4264a4d4

Added by Greg Sutcliffe over 11 years ago

Correctly determine the puppet command on old and new puppet systems
(Credit to Bill ONeill <> for the initial work)

View differences:

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