Created
January 25, 2011 17:43
-
-
Save hugoduncan/795287 to your computer and use it in GitHub Desktop.
java crate live test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(deftest live-test | |
(doseq [image [{:os-family :ubuntu :os-version-matches "10.04"} | |
{:os-family :ubuntu :os-version-matches "10.10"} | |
{:os-family :centos :os-version-matches "5.5"}]] | |
(live-test/test-nodes | |
[compute node-map node-types] | |
{:java | |
{:image image | |
:count 1 | |
:phases {:bootstrap (resource/phase | |
(package/package-manager :update) | |
(automated-admin-user/automated-admin-user)) | |
:configure (resource/phase (java :sun)) | |
:verify (resource/phase | |
(exec-script/exec-checked-script | |
"check java installed" | |
(java -version)))}}} | |
(core/lift (:java node-types) :phase :verify :compute compute)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment