Cleaned up fn docs for create-node and create-nodes. Removing references to implicit compute service since it's been removed.

This commit is contained in:
Mattias Holmqvist 2011-04-29 10:59:05 +02:00
parent 4deb91b877
commit a70c672d6a
1 changed files with 2 additions and 13 deletions

View File

@ -124,17 +124,10 @@
(defn create-nodes (defn create-nodes
"Create the specified number of nodes using the default or specified "Create the specified number of nodes using the default or specified
template. template.
;; Simplest way to add 2 small linux nodes to the group webserver is to run ;; Simplest way to add 2 small linux nodes to the group webserver is to run
(create-nodes \"webserver\" 2 compute) (create-nodes \"webserver\" 2 compute)
;; which is the same as wrapping the create-nodes command with an implicit
;; compute service.
;; Note that this will actually add another 2 nodes to the set called ;; Note that this will actually add another 2 nodes to the set called
;; \"webserver\" ;; \"webserver\""
TODO: Examples
"
([group count compute] ([group count compute]
(create-nodes (create-nodes
group count (default-template compute) compute)) group count (default-template compute) compute))
@ -148,12 +141,8 @@
;; simplest way to add a small linux node to the group webserver is to run ;; simplest way to add a small linux node to the group webserver is to run
(create-node \"webserver\" compute) (create-node \"webserver\" compute)
;; which is the same as wrapping the create-node command with an implicit compute
;; service.
;; Note that this will actually add another node to the set called ;; Note that this will actually add another node to the set called
;; \"webserver\" ;; \"webserver\""
TODO: Examples
"
([group compute] ([group compute]
(create-node group compute (default-template compute))) (create-node group compute (default-template compute)))
([group compute template] ([group compute template]