Skip to content

Commit

Permalink
fixed a typo when setting java environment variables, added a testcas…
Browse files Browse the repository at this point in the history
…e to stop it happening again, release
  • Loading branch information
GeoffWilliams committed May 25, 2017
1 parent b0e35f3 commit bcdd4af
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/puppet_classes/r_profile_3A_3Ajava.html
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ <h2>Overview</h2>

if $java_home {
environment_variable::variable{&quot;JAVA_HOME=${java_home}&quot;: }
environment_variable::path_element{&quot;${java_home}}/bin&quot;: }
environment_variable::path_element{&quot;${java_home}/bin&quot;: }
}
}</pre>
</td>
Expand Down
2 changes: 1 addition & 1 deletion manifests/java.pp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@

if $java_home {
environment_variable::variable{"JAVA_HOME=${java_home}": }
environment_variable::path_element{"${java_home}}/bin": }
environment_variable::path_element{"${java_home}/bin": }
}
}
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "geoffwilliams-r_profile",
"version": "1.7.1",
"version": "1.7.2",
"author": "geoffwilliams",
"summary": "Ready to use Puppet Profile classes",
"license": "Apache-2.0",
Expand Down
3 changes: 3 additions & 0 deletions spec/merge_facts/java.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"java_default_home": "/usr/java"
}

0 comments on commit bcdd4af

Please sign in to comment.