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

This issue tracker is now in read-only archive mode and automatic ticket export has been disabled. Redmine users will need to create a new JIRA account to file tickets using https://tickets.puppetlabs.com. See the following page for information on filing tickets with JIRA:

Bug #15671

error "Defaults are not virtualizable" is somewhat opaque

Added by Patrick Carlisle almost 3 years ago. Updated over 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


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 almost 3 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 over 2 years ago

  • Parent task set to #17017

#3 Updated by eric sorenson over 2 years ago

  • Parent task deleted (#17017)

Also available in: Atom PDF