File tree Expand file tree Collapse file tree 4 files changed +2
-5
lines changed Expand file tree Collapse file tree 4 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 11--relative
22--no-parameter_types-check
3- --no-top_scope_facts-check
Original file line number Diff line number Diff line change @@ -35,4 +35,3 @@ changelog_since_tag: 'v3.0.0'
3535Rakefile :
3636 extra_disabled_lint_checks :
3737 - parameter_types
38- - top_scope_facts
Original file line number Diff line number Diff line change 4343
4444PuppetLint . configuration . send ( 'disable_relative' )
4545PuppetLint . configuration . send ( 'disable_parameter_types' )
46- PuppetLint . configuration . send ( 'disable_top_scope_facts' )
4746
4847
4948if Bundler . rubygems . find_name ( 'github_changelog_generator' ) . any?
Original file line number Diff line number Diff line change 6161 }
6262 }
6363
64- case $:: kernel {
64+ case $facts [ ' kernel' ] {
6565 ' Linux' : {
6666 class { "${title}::linux" :
6767 ensure => $ensure ,
7777 ' FreeBSD' , ' windows' : {
7878 }
7979 default: {
80- fail(" ${title} : Kernel '${:: kernel} ' is not currently supported" )
80+ fail(" ${title} : Kernel '${facts[' kernel'] }' is not currently supported" )
8181 }
8282 }
8383}
You can’t perform that action at this time.
0 commit comments