Clojure-control is an open source clojure DSL for system admin and
deployment with many remote machines via ssh.

You can define clusters and tasks to execute repeatly,an example:

(ns samples
  (:use [control.core :only [task cluster scp ssh begin]]))
(cluster :mycluster
           :clients [
               { :host "a.domain.com" :user "alogin"}
               { :host "b.domain.com" :user "blogin"}
             ])
(task :date "Get date"
         []
         (ssh "date"))
(task :deploy "scp files to remote machines"
         [file1 file2]
        (scp (file1 file2) "/home/alogin/"))
(begin)

More information please visit it on github 
https://github.com/killme2008/clojure-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