Class: PDK::Validate::PuppetValidator
Constant Summary
BaseValidator::ALLOW_EMPTY_TARGETS, BaseValidator::IGNORE_DOTFILES, BaseValidator::INVOKE_STYLE
Class Method Summary
collapse
allow_empty_targets?, cmd_path, ignore_dotfiles?, ignore_pathspec, parse_options, parse_targets, process_invalid, process_skipped, spinner_text
Class Method Details
.invoke(report, options = {}) ⇒ Object
19
20
21
22
23
24
25
26
27
28
|
# File 'lib/pdk/validate/puppet_validator.rb', line 19
def self.invoke(report, options = {})
exit_code = 0
puppet_validators.each do |validator|
exit_code = validator.invoke(report, options)
break if exit_code != 0
end
exit_code
end
|
.name ⇒ Object
11
12
13
|
# File 'lib/pdk/validate/puppet_validator.rb', line 11
def self.name
'puppet'
end
|
.puppet_validators ⇒ Object