Puppet: System Administration Automated

Support

Ticket #1231 (new defect)

Opened 7 months ago

Exceptions during startup are often unclear

Reported by: luke Assigned to: luke
Priority: normal Milestone: 0.24.5
Component: Darwin Version: 0.24.4
Severity: blocker Keywords:
Cc: Triage Stage: Accepted
Attached Patches: None Complexity: Easy

Description

When Puppet is trying to configure its various files and directories at startup, it now sometimes does not propagate the actual failures it experiences. This makes debugging those failures enfuriating, so this must be fixed.

For instance, people get this failure:

/Users/rick/git/puppet/lib/puppet/util/settings.rb:595:in `use': Could not configure myself; got 3 failure(s) (RuntimeError)
        from /Users/rick/git/puppet/lib/puppet/node/catalog.rb:130:in `apply'
        from /Users/rick/git/puppet/lib/puppet/util/settings.rb:588:in `use'
        from /opt/local/lib/ruby/1.8/sync.rb:229:in `synchronize'
        from /Users/rick/git/puppet/lib/puppet/util/settings.rb:568:in `use'
        from /Users/rick/git/puppet/bin/puppetmasterd:166