--relative
--no-parameter_types-check
---no-top_scope_facts-check
Rakefile:
extra_disabled_lint_checks:
- parameter_types
- - top_scope_facts
PuppetLint.configuration.send('disable_relative')
PuppetLint.configuration.send('disable_parameter_types')
-PuppetLint.configuration.send('disable_top_scope_facts')
if Bundler.rubygems.find_name('github_changelog_generator').any?
}
}
- case $::kernel {
+ case $facts['kernel'] {
'Linux': {
class { "${title}::linux":
ensure => $ensure,
'FreeBSD', 'windows': {
}
default: {
- fail("${title}: Kernel '${::kernel}' is not currently supported")
+ fail("${title}: Kernel '${facts['kernel']}' is not currently supported")
}
}
}