                                                        :mode "644")
                               (directory/directory (str home "/.pallet/")
                                                    :create :action
-                                                   :path true
-                                                   ;; :owner "circle"
-                                                   ;; :group "circle"
-                                                   )
+                                                   :path true)
                               (remote-file/remote-file (str home "/.pallet/config.clj") :local-file "src/circle/pallet_config.clj" :no-versioning true))))}))
 
 (defn start

                                                     ;; reliability
                                                     :aptitude {:url "http://us.archive.ubuntu.com/ubuntu/"
                                                                :scopes ["main" "natty-updates" "universe" "multiverse"]}) ;; TODO the natty is specific to 11.04, change later.
                             (package/packages :aptitude ["nginx" "htop"])
                             (java/java :sun :jdk)
                             (git/git)
                             (nginx/site "circle"

                                                                      "X-Forwarded-For" "\\$proxy_add_x_forwarded_for"
                                                                      "Host" "\\$http_host"}}])
                             (nginx/site "default" :action :disable)
                             (service/service "nginx" :action :enable)                             
                             ;;users
                             (thread-expr/let->
                              [home (str "/home/" (-> session :user :username))]
                              (directory/directory  (str home "/.ssh/")
                                                   :create :action
                                                   :path true)
                              (ssh-key/install-key "ubuntu"
                                                   "id_rsa"
                                                   (slurp "www.id_rsa")
                                                   (slurp "www.id_rsa.pub"))
                              (lein/lein)
                              (remote-file/remote-file (str home "/.ssh/config") :content "Host github.com\n\tStrictHostKeyChecking no\n"
                                                       ;; :owner "circle"
