Skip to content

Instantly share code, notes, and snippets.

@lypanov
Created December 30, 2011 19:17
Show Gist options
  • Save lypanov/1541097 to your computer and use it in GitHub Desktop.
Save lypanov/1541097 to your computer and use it in GitHub Desktop.
(use 'pallet.core)
(use 'pallet.compute)
(use 'pallet.resource)
(use 'pallet.crate.automated-admin-user)
(def mynodes
(pallet.core/node-spec
:image {:os-family :ubuntu :os-version-matches "10.10" :os-64-bit true}))
(def with-wget
(pallet.core/server-spec
:phases { :bootstrap automated-admin-user
:configure (pallet.resource/phase
(pallet.action.package/package "wget"))}))
(pallet.core/converge
(pallet.core/group-spec "mygroup8" :extends [with-wget] :node-spec mynodes :count 1)
:compute (pallet.compute/service :virtualbox))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment