diff options
author | James Turnbull <james@lovedthanlost.net> | 2010-07-09 01:43:41 +1000 |
---|---|---|
committer | Markus Roberts <Markus@reality.com> | 2010-07-09 09:31:56 -0700 |
commit | dda165af210c598715c2cf50ba29f8466a589687 (patch) | |
tree | 64ebac98ad784c1294bdbb9cab7f9bc37f1497c2 /spec/unit/indirector | |
parent | 1715f3af5db3459c373358fe5ab1ab3b793f7045 (diff) | |
download | puppet-dda165af210c598715c2cf50ba29f8466a589687.tar.gz puppet-dda165af210c598715c2cf50ba29f8466a589687.tar.xz puppet-dda165af210c598715c2cf50ba29f8466a589687.zip |
Fixed #4180 - Updated old module structure to match correct default
Thanks to Daniel Grafe for the patch
Diffstat (limited to 'spec/unit/indirector')
-rwxr-xr-x | spec/unit/indirector/facts/facter_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/indirector/facts/facter_spec.rb b/spec/unit/indirector/facts/facter_spec.rb index ea68f63d6..a6dd8868d 100755 --- a/spec/unit/indirector/facts/facter_spec.rb +++ b/spec/unit/indirector/facts/facter_spec.rb @@ -128,8 +128,8 @@ describe Puppet::Node::Facts::Facter do Puppet.settings.expects(:value).with(:modulepath).returns("one%stwo" % File::PATH_SEPARATOR) - Dir.expects(:glob).with("one/*/plugins/facter").returns %w{oneA oneB} - Dir.expects(:glob).with("two/*/plugins/facter").returns %w{twoA twoB} + Dir.expects(:glob).with("one/*/lib/facter").returns %w{oneA oneB} + Dir.expects(:glob).with("two/*/lib/facter").returns %w{twoA twoB} Puppet::Node::Facts::Facter.expects(:load_facts_in_dir).with("oneA") Puppet::Node::Facts::Facter.expects(:load_facts_in_dir).with("oneB") |