     [celestial.redis :only (clear-locks)]
     [taoensso.timbre :only (set-config! set-level!)])
   (:require 
+    [es.node :as es]
     [celestial.persistency.migrations :as mg]
     [hypervisors.networking :refer [initialize-networking]]
     [celestial.jobs :as jobs]))

(def jetty (atom nil))

(defn setup 
  "one time setup" 
  []
  (initialize-networking)
  (setup-logging)

    (generate-store (cert-conf :keystore) (cert-conf :password))))

(defn start-nrepl
  "Starts nrepl if enabled"
  []
  (when-let [port (get* :celestial :nrepl :port)]
    (info (<< "starting nrepl on port ~{port}"))
