choria-legacy / puppet-nats

NATS.io module for the Choria Orchestrator
http://choria.io
Apache License 2.0
5 stars 16 forks source link

cert_file and key_file should default to using ${certname}.pem #23

Closed adastidar closed 7 years ago

adastidar commented 7 years ago

The default locations for certs can instead be:

  String $cert_file = "/etc/puppetlabs/puppet/ssl/certs/${clientcert}.pem",
  String $key_file = "/etc/puppetlabs/puppet/ssl/private_keys/${clientcert}.pem",

Right now, I need to override the two params on my master.

ripienaar commented 7 years ago

@adastidar better to use $trusted["certname"] but I agree, do you want to make a PR?