
With this inital commit we set two things : * The list of project that will be managed by this repository[1] * The default template for shared resources, inspired from puppetlabs own modulesync_configs[2] The actual content (ie. data) should be discussed during a meeting. [1] https://github.com/openstack-infra/project-config/blob/master/gerritbot/channels.yaml#L1043-L1069 [2] https://github.com/puppetlabs/modulesync_configs Change-Id: I03b4f07594361ef50ed20589571b2d4c3072cbff
17 lines
654 B
Ruby
17 lines
654 B
Ruby
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 = <% @configs['default_disabled_lint_checks'] + ( @configs['extra_disabled_lint_checks'] || [] ) -%>
|
|
end
|