Skip to content

Commit

Permalink
fix missalligned formatting to pass lint tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleygould committed Jan 16, 2025
1 parent 489e567 commit 44e8813
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions manifests/java.pp
Original file line number Diff line number Diff line change
Expand Up @@ -45,23 +45,23 @@
}

file { $filename:
ensure => 'file',
source => $source,
content => $content,
mode => '0644',
owner => 'root',
group => 'root',
notify => Exec["validate ${filename} contents"],
ensure => 'file',
source => $source,
content => $content,
mode => '0644',
owner => 'root',
group => 'root',
notify => Exec["validate ${filename} contents"],
}

exec { "validate ${filename} contents":
command => "/usr/bin/openssl x509 -in ${filename} -noout",
cwd => '/tmp',
path => $trusted_ca::path,
logoutput => on_failure,
require => File[$filename],
refreshonly => true,
notify => Exec["import ${filename} to jks ${java_keystore}"],
command => "/usr/bin/openssl x509 -in ${filename} -noout",
cwd => '/tmp',
path => $trusted_ca::path,
logoutput => on_failure,
require => File[$filename],
refreshonly => true,
notify => Exec["import ${filename} to jks ${java_keystore}"],
}

exec { "import ${filename} to jks ${java_keystore}":
Expand Down

0 comments on commit 44e8813

Please sign in to comment.