Skip to content

Commit a844828

Browse files
author
Wilson McCoubrey
committed
[maint] Fix puppet-lint warnings introduced with 2.2.0 puppet-lint release
1 parent 216620c commit a844828

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

manifests/init.pp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,14 +118,12 @@
118118
}
119119

120120
anchor { 'java::begin:': }
121-
->
122-
package { 'java':
121+
-> package { 'java':
123122
ensure => $version,
124123
install_options => $package_options,
125124
name => $use_java_package_name,
126125
}
127-
->
128-
class { 'java::config': }
126+
-> class { 'java::config': }
129127
-> anchor { 'java::end': }
130128

131129
}

manifests/oracle.pp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,13 +226,14 @@
226226
creates => $creates_path,
227227
proxy_server => $proxy_server,
228228
proxy_type => $proxy_type,
229-
}->
229+
}
230230
case $::kernel {
231231
'Linux' : {
232232
exec { "Install Oracle java_se ${java_se} ${version}" :
233233
path => '/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin',
234234
command => $install_command,
235235
creates => $creates_path,
236+
before => Archive[$destination]
236237
}
237238
}
238239
default : {

0 commit comments

Comments
 (0)