The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com

Bug #15671

error "Defaults are not virtualizable" is somewhat opaque

Added by Patrick Carlisle about 2 years ago. Updated about 2 years ago.

Status:AcceptedStart date:07/24/2012
Priority:NormalDue date:
Assignee:eric sorenson% Done:

0%

Category:error reporting
Target version:-
Affected Puppet version: Branch:
Keywords:ux, errors, parser

We've Moved!

Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com

This ticket may be automatically exported to the PUP project on JIRA using the button below:


Description

While refactoring some spec tests I came across this test

it "should fail if trying to collect defaults" do
  expect {
    @parser.parse("@Port { protocols => tcp }")
  }.to raise_error(Puppet::ParseError, /Defaults are not virtualizable/)
end

I added the string for the error, since that’s what gets raised, but it seems like to anyone without a deep understanding of puppet that this error would be near useless.


Related issues

Related to Puppet - Bug #17017: Improve puppet's error handling and exit code correctness. Accepted

History

#1 Updated by Anonymous about 2 years ago

  • Status changed from Unreviewed to Accepted
  • Assignee set to eric sorenson

I don’t understand this error, either, but we should do better. Patrick’s right: no normal user has a chance at understanding it.

#2 Updated by eric sorenson about 2 years ago

  • Parent task set to #17017

#3 Updated by eric sorenson about 2 years ago

  • Parent task deleted (#17017)

Also available in: Atom PDF