Actions
Bug #2097
closedImprove debug when unable to get Puppet settings with bad return code
Description
Currently PuppetSetting raises an exception when the return code of the puppet master --configprint
command is bad. This is usually down to configuration, but there's not enough debug to help.
It currently raises this message:
unable to get [:hostcert, :localcacert, :hostprivkey, :storeconfigs] Puppet setting: <stdout>
It should also provide the path to puppetmasterd it ran (as people have had $PATH issues), the full command (to include the puppet.conf location) and stderr.
Actions