[maint] Fix puppet-lint warnings introduced with 2.2.0 puppet-lint release

This commit is contained in:
Wilson McCoubrey
2017-03-29 15:49:27 +01:00
parent 216620c90f
commit a8448286f7
2 changed files with 4 additions and 5 deletions

View File

@@ -118,14 +118,12 @@ class java(
}
anchor { 'java::begin:': }
->
package { 'java':
-> package { 'java':
ensure => $version,
install_options => $package_options,
name => $use_java_package_name,
}
->
class { 'java::config': }
-> class { 'java::config': }
-> anchor { 'java::end': }
}

View File

@@ -226,13 +226,14 @@ define java::oracle (
creates => $creates_path,
proxy_server => $proxy_server,
proxy_type => $proxy_type,
}->
}
case $::kernel {
'Linux' : {
exec { "Install Oracle java_se ${java_se} ${version}" :
path => '/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin',
command => $install_command,
creates => $creates_path,
before => Archive[$destination]
}
}
default : {