diff options
author | mh <mh@immerda.ch> | 2018-02-13 01:22:57 +0100 |
---|---|---|
committer | mh <mh@immerda.ch> | 2018-02-13 01:22:57 +0100 |
commit | 24bd5ca46dc90c663f241933410d085fc1311fab (patch) | |
tree | f3498601b49fe453230c7a042edfd99b5c2f77f0 /Rakefile | |
parent | 1fcbe72115d57d53fced2777c8b54a4ee4ec17e9 (diff) | |
parent | 228ae4a53999dbc49fa7c4d2883468dde10f19fb (diff) |
Merge remote-tracking branch 'shared/master'
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -1,9 +1,14 @@ require 'rubygems' # keep for compatibility for now require 'puppetlabs_spec_helper/rake_tasks' -require 'puppet-lint/tasks/puppet-lint' -PuppetLint.configuration.send('disable_80chars') -PuppetLint.configuration.ignore_paths = ["spec/**/*.pp", "pkg/**/*.pp"] +task :tests do + # run syntax checks on manifests, templates and hiera data + # also runs :metadata_lint + Rake::Task[:validate].invoke + + # runs puppet-lint + Rake::Task[:lint].invoke +end # use librarian-puppet to manage fixtures instead of .fixtures.yml # offers more possibilities like explicit version management, forge downloads,... @@ -14,4 +19,5 @@ task :librarian_spec_prep do sh "ln -s #{pwd} #{pwd}/spec/fixtures/modules/tor" end end + task :spec_prep => :librarian_spec_prep |