Bug #1711

fileserver test fails due to incorrect mocking

Added by Matt Palmer over 3 years ago. Updated over 3 years ago.

Status:Closed Start date:10/29/2008
Priority:Normal Due date:
Assignee:Luke Kanies % Done:

0%

Category:testing
Target version:0.24.7
Affected Puppet version:0.24.6 Branch:
Keywords:
Votes: 0

Description

Ha ha!

fileserver.rb, test_fileserver_expansion, called a fact which ultimately ended up in facter/util/ip.rb which wanted to know @Facter.value(:kernel)@, however since @Facter::value@ had already been mocked, it bombed. Patch is a little funky because we need to get the fact value out before the stubbing starts.

0002-Mock-out-an-extra-Facter.value-call-in-a-fileserver.patch (993 Bytes) Matt Palmer, 10/29/2008 03:54 am

History

Updated by James Turnbull over 3 years ago

  • Category set to testing
  • Status changed from Unreviewed to Accepted
  • Assignee set to Luke Kanies
  • Target version set to 0.24.7

Being an rspec doofus – if you’re happy Luke I will patch.

Updated by James Turnbull over 3 years ago

  • Status changed from Accepted to Closed

Pushed in commit:c96d250f71bbc75e0ababaeff3b7024bdb20ff60 in branch 0.24.x

Also available in: Atom PDF