a0f14ef9dd
During the Kilo summit, we talked about the state of the current
puppet-sahara module on stackforge, and especially about the brought up parity with
other modules.
For theses reasons, the rewrite was launched/leaded by Robbie Harwood,
but directly coded on Github (and not in a feature branch in this
repository), for this reason, this patch is non-atomic, and import the
latest frozencemetery/puppet-sahara version¹.
This rewrite/import was approved on puppet-openstack mailing list
(following this thread²).
The «reset» of the stackforge repo was discussed (in order to keep the history
of Robbie module) on #openstack-infra, but it seems we have no simple solution.
¹05af265b15
²https://groups.google.com/a/puppetlabs.com/forum/#!topic/puppet-openstack/0BETdNvrd70
Co-Authored-By: Robbie Harwood <rharwood@redhat.com>
Change-Id: Ic3dd7547fdfcba275d8a8b90b8ba84bc3ce1d7c0
17 lines
576 B
Ruby
17 lines
576 B
Ruby
require 'puppetlabs_spec_helper/rake_tasks'
|
|
require 'puppet-lint/tasks/puppet-lint'
|
|
|
|
PuppetLint.configuration.fail_on_warnings = true
|
|
PuppetLint.configuration.send('disable_80chars')
|
|
PuppetLint.configuration.send('disable_class_parameter_defaults')
|
|
PuppetLint.configuration.send('disable_class_inherits_from_params_class')
|
|
|
|
exclude_tests_paths = ['pkg/**/*','vendor/**/*']
|
|
PuppetLint.configuration.ignore_paths = exclude_tests_paths
|
|
PuppetSyntax.exclude_paths = exclude_tests_paths
|
|
|
|
desc "Lint metadata.json file"
|
|
task :metadata do
|
|
sh "metadata-json-lint metadata.json"
|
|
end
|