diff options
author | Jenkins <jenkins@review.openstack.org> | 2016-09-23 20:55:26 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2016-09-23 20:55:26 +0000 |
commit | 797fe97752408ea36ddcc401b6cbdfd691854042 (patch) | |
tree | 5459d42c6b2eb59e5d5043c9a0baac0bf3324145 /Rakefile | |
parent | 942b2a2b8c87b471b57b7d304be923c81d7eb55f (diff) | |
parent | 1c4fe921e677c52dd01c9ce9aa12933fe0688b88 (diff) |
Merge "Switch puppet-tripleo to use puppet-openstack_spec_helper"
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 22 |
1 files changed, 1 insertions, 21 deletions
@@ -1,21 +1 @@ -require 'puppetlabs_spec_helper/rake_tasks' -require 'puppet-lint/tasks/puppet-lint' -require 'puppet-syntax/tasks/puppet-syntax' - -PuppetSyntax.exclude_paths ||= [] -PuppetSyntax.exclude_paths << "spec/fixtures/**/*" -PuppetSyntax.exclude_paths << "pkg/**/*" -PuppetSyntax.exclude_paths << "vendor/**/*" - -Rake::Task[:lint].clear -PuppetLint::RakeTask.new :lint do |config| - config.ignore_paths = ["spec/**/*.pp", "vendor/**/*.pp"] - config.fail_on_warnings = true - config.log_format = '%{path}:%{linenumber}:%{KIND}: %{message}' - config.disable_checks = ["80chars", "class_inherits_from_params_class", "only_variable_string"] -end - -desc "Run acceptance tests" -RSpec::Core::RakeTask.new(:acceptance) do |t| - t.pattern = 'spec/acceptance' -end +require 'puppet-openstack_spec_helper/rake_tasks' |