Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (22 sloc) 1.02 KB
# This file is managed centrally by modulesync
require 'rake/clean'
require 'puppetlabs_spec_helper/rake_tasks'
require 'puppet-lint/tasks/puppet-lint'
require 'puppet_blacksmith/rake_tasks'
CLEAN.include('spec/fixtures/manifests/', 'spec/fixtures/modules/', 'doc', 'pkg')
CLOBBER.include('.tmp', '.librarian')
ENV['STRICT_VARIABLES']='yes' unless <"3.5.0")
task :librarian_spec_prep do
sh "librarian-puppet install --path=spec/fixtures/modules/"
task :spec_prep => :librarian_spec_prep
Rake::Task[:lint].clear # workaround
PuppetLint.configuration.relative = true # :lint do |config|
config.pattern = 'manifests/**/*.pp'
config.disable_checks = ['80chars', 'class_inherits_from_params_class']
config.fail_on_warnings = true
# config.relative = true
task :default => [:clean, :validate, :lint, :spec]
Something went wrong with that request. Please try again.