Bug #2327

Augeas type should honor return types, and error correctly when found

Added by Bryan Kearney about 1 year ago. Updated 3 months ago.

Status:Closed Start:06/05/2009
Priority:Normal Due date:
Assigned to:Bryan Kearney % Done:

0%

Category:Red Hat
Target version:0.25.5
Affected version:0.25.0 Branch:
Keywords:augeas error
Votes: 0

Description

Per this thread:

http://groups.google.com/group/puppet-users/browse_thread/thread/fedb0f75f39e3d05?hl=en

The augeas type should look at the return codes of the commands and report errors when they fail.

History

Updated by James Turnbull about 1 year ago

Also got a broken test:

6)
'Puppet::Type::Augeas provider interaction should munge the changes' FAILED
expected: "Jar Jar Binks",
     got: "Testing 123" (using ==)
./spec/unit/type/augeas.rb:96:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in `run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `run'

Updated by Markus Roberts 7 months ago

  • Target version set to 0.25.3

Updated by Markus Roberts 7 months ago

  • Target version changed from 0.25.3 to 0.25.4

Updated by James Turnbull 7 months ago

  • Target version changed from 0.25.4 to 0.25.5

Updated by Bryan Kearney 6 months ago

  • Status changed from Accepted to Ready for Checkin

Pull request was sent to James. You can see the fix here:

http://github.com/bkearney/puppet/tree/ticket/0.25.x/2327

Updated by James Turnbull 6 months ago

  • Status changed from Ready for Checkin to Closed

Pushed in commit:“8a3a2056c82c7d0313a052fef00d3a8f039fe0db” in branch 0.25.x

Also available in: Atom PDF