From 3fdd59f65478ba7d5e8b0f66aa5ea04ed23ec45e Mon Sep 17 00:00:00 2001 From: Tomas Barton Date: Sun, 26 Jan 2014 18:35:44 +0100 Subject: using fixtures.yml for linking folders --- Rakefile | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'Rakefile') diff --git a/Rakefile b/Rakefile index a9a4da9..e321351 100644 --- a/Rakefile +++ b/Rakefile @@ -8,15 +8,9 @@ require 'rspec-system/rake_task' PuppetLint.configuration.log_format = '%{path}:%{linenumber}:%{KIND}: %{message}' PuppetLint.configuration.send("disable_80chars") -# use librarian-puppet to manage fixtures instead of .fixtures.yml -# offers more possibilities like explicit version management, forge downloads,... puppet_module='sshd' task :librarian_spec_prep do - sh "librarian-puppet install --path=spec/fixtures/modules/" - pwd = `pwd`.strip - unless File.directory?("#{pwd}/spec/fixtures/modules/#{puppet_module}") - sh "ln -s #{pwd} #{pwd}/spec/fixtures/modules/#{puppet_module}" - end + sh 'librarian-puppet install --path=spec/fixtures/modules/' end task :spec_prep => :librarian_spec_prep -task :default => [:spec, :lint] \ No newline at end of file +task :default => [:spec, :lint] -- cgit v1.2.3