Project

General

Profile

Actions

Bug #2097

closed

Improve debug when unable to get Puppet settings with bad return code

Added by Dominic Cleal over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Puppet integration
Target version:
Difficulty:
easy
Triaged:
Fixed in Releases:
Found in Releases:

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 #1

Updated by Dominic Cleal over 11 years ago

  • Category changed from Puppet Reports to Puppet integration
  • Status changed from Assigned to Ready For Testing
Actions #2

Updated by Dominic Cleal over 11 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF