forked from simp/pupmod-simp-logstash-obsolete
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
27 lines (21 loc) · 732 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/rake -T
# For playing nice with mock
File.umask(027)
require 'simp/rake/pkg'
begin
require 'puppetlabs_spec_helper/rake_tasks'
rescue LoadError
puts "== WARNING: Gem puppetlabs_spec_helper not found, spec tests cannot be run! =="
end
# Lint Material
begin
require 'puppet-lint/tasks/puppet-lint'
PuppetLint.configuration.send("disable_80chars")
PuppetLint.configuration.send("disable_variables_not_enclosed")
PuppetLint.configuration.send("disable_class_parameter_defaults")
rescue LoadError
puts "== WARNING: Gem puppet-lint not found, lint tests cannot be run! =="
end
Simp::Rake::Pkg.new( File.dirname( __FILE__ ) ) do | t |
t.clean_list << "#{t.base_dir}/spec/fixtures/hieradata/hiera.yaml"
end