Skip to content

Instantly share code, notes, and snippets.

@jduey
Created November 27, 2011 19:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jduey/1398025 to your computer and use it in GitHub Desktop.
Save jduey/1398025 to your computer and use it in GitHub Desktop.
(def web-server
(pallet/group-spec "web-server"
:phases {:bootstrap (phase/phase-fn (auto-user/automated-admin-user))
:settings (phase/phase-fn (tomcat/settings {}))
:configure (phase/phase-fn (tomcat/install))}
:node-spec (pallet/node-spec :image {:smallest true
:os-family :ubuntu
:os-version-matches "10.10"})))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment