[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:': }
|
anchor { 'java::begin:': }
|
||||||
->
|
-> package { 'java':
|
||||||
package { 'java':
|
|
||||||
ensure => $version,
|
ensure => $version,
|
||||||
install_options => $package_options,
|
install_options => $package_options,
|
||||||
name => $use_java_package_name,
|
name => $use_java_package_name,
|
||||||
}
|
}
|
||||||
->
|
-> class { 'java::config': }
|
||||||
class { 'java::config': }
|
|
||||||
-> anchor { 'java::end': }
|
-> anchor { 'java::end': }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -226,13 +226,14 @@ define java::oracle (
|
|||||||
creates => $creates_path,
|
creates => $creates_path,
|
||||||
proxy_server => $proxy_server,
|
proxy_server => $proxy_server,
|
||||||
proxy_type => $proxy_type,
|
proxy_type => $proxy_type,
|
||||||
}->
|
}
|
||||||
case $::kernel {
|
case $::kernel {
|
||||||
'Linux' : {
|
'Linux' : {
|
||||||
exec { "Install Oracle java_se ${java_se} ${version}" :
|
exec { "Install Oracle java_se ${java_se} ${version}" :
|
||||||
path => '/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin',
|
path => '/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin',
|
||||||
command => $install_command,
|
command => $install_command,
|
||||||
creates => $creates_path,
|
creates => $creates_path,
|
||||||
|
before => Archive[$destination]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
default : {
|
default : {
|
||||||
|
|||||||
Reference in New Issue
Block a user