From dcea01c89c802c4055e2e99a4ed17576a4c5581b Mon Sep 17 00:00:00 2001 From: Tomas Barton Date: Sun, 13 Oct 2013 19:00:48 +0200 Subject: linking current directory to fixtures --- Rakefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Rakefile') diff --git a/Rakefile b/Rakefile index 6b92f24..3bc7abd 100644 --- a/Rakefile +++ b/Rakefile @@ -14,8 +14,11 @@ PuppetLint.configuration.send("disable_80chars") # offers more possibilities like explicit version management, forge downloads,... task :librarian_spec_prep do sh "librarian-puppet install --path=spec/fixtures/modules/" + pwd = `pwd`.strip + unless File.directory?("#{pwd}/spec/fixtures/modules/munin") + sh "ln -s #{pwd} #{pwd}/spec/fixtures/modules/munin" + end sh 'ls -laF spec/fixtures/modules' - sh 'ls -laF spec/fixtures/modules/munin/manifests' end task :spec_prep => :librarian_spec_prep -- cgit v1.2.3