aboutsummaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorduritong <peter.meier+github@immerda.ch>2014-02-01 06:52:23 -0800
committerduritong <peter.meier+github@immerda.ch>2014-02-01 06:52:23 -0800
commitdfc6d99c931ae9cba373903b4f9da94ca7db41c1 (patch)
treef83dcf203e6d3132a29b7c56974eeb1139112e18 /Rakefile
parentaee6885940cad29ff4ab7437e89c394bc1c19a46 (diff)
parentbf425e96b1acc9c17b51600aeecd34a1d91b62e7 (diff)
downloadpuppet-sshd-dfc6d99c931ae9cba373903b4f9da94ca7db41c1.tar.gz
puppet-sshd-dfc6d99c931ae9cba373903b4f9da94ca7db41c1.tar.bz2
Merge pull request #7 from deric/more-tests
More tests
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile10
1 files changed, 2 insertions, 8 deletions
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]