[maint] Fix puppet-lint warnings introduced with 2.2.0 puppet-lint release
This commit is contained in:
@@ -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': }
|
||||
|
||||
}
|
||||
|
||||
@@ -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 : {
|
||||
|
||||
Reference in New Issue
Block a user