Clojure-control is a clojure DSL for system admin and deployment with
many remote machines via ssh/rsync.It is on github:
https://github.com/killme2008/clojure-control

0.2.1 has been released,main highlights:
First,A shell command DSL by sunny87,for example:

(cd "/home/login"
    (run "ls")
    (cd "bin"
        (run "ls")))

(cd "/home/login"
    (path "/home/login/bin"
        (env "JAVA_OPTS" "-XMaxPermSize=128m"
            (run "clojure"))))

Second,Supports ssh/scp/rsync options when defining cluster,they can
be a string or a vector:

(defcluster :mycluster
              :ssh-options "-p 44"
              :scp-options "-v"
              :rsync-options ["-arz" "--delete"]
              :clients [
                       { :host "c.domain.com" :user "clogin" :ssh-
options "-v -p 43"}
                       ]
              :user "login"
              :addresses ["a.domain.com" "b.domain.com"])

Third, It supports executing task in parallel now,just define cluster
by
(defcluster :mycluster
                      :parallel true
                      ....)

At last, i recommend everyone try the lein-control plugin developed by
sunny87 for using cc much more simply,please visit
https://github.com/sunng87/lein-control

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to