Created
February 12, 2011 00:22
-
-
Save davidsantiago/823326 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
David-Santiagos-Computer:servlet David$ cake pallet nodes -- -P virtualbox | |
INFO jclouds - extensions (:log4j :ssh) | |
David-Santiagos-Computer:servlet David$ cake pallet lift com.battletheory.deploy.nodes/server :deploy @dev -- -P virtualbox | |
INFO jclouds - extensions (:log4j :ssh) | |
INFO core - retrieving nodes | |
INFO core - apply-phase :pre-deploy for :server with 0 nodes | |
INFO core - apply-phase :deploy for :server with 0 nodes | |
INFO core - apply-phase :after-deploy for :server with 0 nodes | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
;; ~/pallet/config.clj | |
(defpallet | |
:services | |
{:aws {:provider "ec2" | |
:identity "REDACTED" | |
:credential "REDACTED"} | |
:virtualbox {:provider :node-list | |
:node-list [["virtualbox" "server" | |
"virtualbox.battletheory.com" | |
:ubuntu]]}}) | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
;; logs/pallet.log for the two commands above. | |
2011-02-11 18:19:32,518 INFO [pallet.compute.jclouds] (Thread-7) extensions (:log4j :ssh) | |
2011-02-11 18:19:36,419 DEBUG [pallet.main-invoker] (Thread-7) OS Mac OS X 10.6.6 | |
2011-02-11 18:19:36,420 DEBUG [pallet.main-invoker] (Thread-7) Arch i386 | |
2011-02-11 18:19:36,420 DEBUG [pallet.main-invoker] (Thread-7) Admin user david | |
2011-02-11 18:19:36,420 DEBUG [pallet.main-invoker] (Thread-7) private-key-path /Users/David/.ssh/id_rsa true | |
2011-02-11 18:19:36,420 DEBUG [pallet.main-invoker] (Thread-7) public-key-path /Users/David/.ssh/id_rsa.pub true | |
2011-02-11 18:19:51,756 INFO [pallet.compute.jclouds] (Thread-9) extensions (:log4j :ssh) | |
2011-02-11 18:19:54,115 DEBUG [pallet.main-invoker] (Thread-9) OS Mac OS X 10.6.6 | |
2011-02-11 18:19:54,115 DEBUG [pallet.main-invoker] (Thread-9) Arch i386 | |
2011-02-11 18:19:54,115 DEBUG [pallet.main-invoker] (Thread-9) Admin user david | |
2011-02-11 18:19:54,115 DEBUG [pallet.main-invoker] (Thread-9) private-key-path /Users/David/.ssh/id_rsa true | |
2011-02-11 18:19:54,115 DEBUG [pallet.main-invoker] (Thread-9) public-key-path /Users/David/.ssh/id_rsa.pub true | |
2011-02-11 18:19:54,117 TRACE [pallet.core] (Thread-9) lift* phases [:deploy] | |
2011-02-11 18:19:54,117 INFO [pallet.core] (Thread-9) retrieving nodes | |
2011-02-11 18:19:54,496 TRACE [pallet.core] (Thread-9) lift-nodes phases [:deploy] | |
2011-02-11 18:19:54,501 INFO [pallet.core] (Thread-9) apply-phase :pre-deploy for :server with 0 nodes | |
2011-02-11 18:19:54,504 INFO [pallet.core] (Thread-9) apply-phase :deploy for :server with 0 nodes | |
2011-02-11 18:19:54,505 INFO [pallet.core] (Thread-9) apply-phase :after-deploy for :server with 0 nodes | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
;; On the repl... | |
user=> (require ['pallet.compute :as 'compute]) | |
nil | |
user=> (compute/nodes (compute/compute-service-from-config-file :virtualbox) ) | |
[ server :ubuntu true public: virtualbox.battletheory.com private: null virtualbox-virtualbox-battletheory-com] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment