diff options
author | Tomas Barton <barton.tomas@gmail.com> | 2013-10-13 19:00:48 +0200 |
---|---|---|
committer | Tomas Barton <barton.tomas@gmail.com> | 2013-10-13 19:00:48 +0200 |
commit | dcea01c89c802c4055e2e99a4ed17576a4c5581b (patch) | |
tree | e09667e3cf845d93e2262b5cab01dd024df4ed90 /Rakefile | |
parent | c5f36700d044fbdf61b17e105bddd2147ff22f29 (diff) |
linking current directory to fixtures
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |