Skip to content

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
boorad committed Jul 8, 2015
1 parent f06a3b8 commit c21b249
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
}
$javaDownloadURI = "http://download.oracle.com/otn-pub/java/jdk/${version}u${version_u}-b${version_b}/jdk-${version}u${version_u}-linux-${plat_filename}.tar.gz"
$java_home = "${install_dir}/jdk1.${version}.0_${version_u}"
$jceDownloadURI = "http://download.oracle.com/otn-pub/java/jce/8/jce_policy-8.zip"
$jceDownloadURI = 'http://download.oracle.com/otn-pub/java/jce/8/jce_policy-8.zip'
}
'7': {
if ($version_update != 'default'){
Expand Down Expand Up @@ -259,7 +259,7 @@
if ( $jce and $version == '8' ) {

$jceFilename = inline_template('<%= File.basename(@jceDownloadURI) %>')
$jce_dir = "UnlimitedJCEPolicyJDK8"
$jce_dir = 'UnlimitedJCEPolicyJDK8'

if ( $use_cache ) {
file { "${install_dir}/${jceFilename}":
Expand Down Expand Up @@ -297,7 +297,7 @@
file { "${java_home}/jre/lib/security/README.txt":
ensure => 'present',
source => "${install_dir}/${jce_dir}/README.txt",
mode => 0644,
mode => '0644',
owner => 'root',
group => 'root',
require => Exec['extract_jce'],
Expand All @@ -306,7 +306,7 @@
file { "${java_home}/jre/lib/security/local_policy.jar":
ensure => 'present',
source => "${install_dir}/${jce_dir}/local_policy.jar",
mode => 0644,
mode => '0644',
owner => 'root',
group => 'root',
require => Exec['extract_jce'],
Expand All @@ -315,7 +315,7 @@
file { "${java_home}/jre/lib/security/US_export_policy.jar":
ensure => 'present',
source => "${install_dir}/${jce_dir}/US_export_policy.jar",
mode => 0644,
mode => '0644',
owner => 'root',
group => 'root',
require => Exec['extract_jce'],
Expand Down

0 comments on commit c21b249

Please sign in to comment.