Skip to content

Commit

Permalink
Merge pull request #74 from cyberious/RakeFileFix
Browse files Browse the repository at this point in the history
Fix issue with Rakefile where require beaker fails on windows or when not installed
  • Loading branch information
hunner committed Feb 25, 2015
2 parents ce4db3b + dc17262 commit b30a944
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Rakefile
@@ -1,6 +1,10 @@
require 'puppetlabs_spec_helper/rake_tasks'
require 'puppet-lint/tasks/puppet-lint'
require 'beaker/tasks/test'
begin
require 'beaker/tasks/test'
rescue LoadError
#Do nothing, rescue for Windows as beaker does not work and will not be installed
end

#Due to puppet-lint not ignoring tests folder or the ignore paths attribute
#we have to ignore many things
Expand Down

0 comments on commit b30a944

Please sign in to comment.