 
 (def pdb-dev-deps
   (concat
+   `[[puppetlabs/trapperkeeper-webserver-jetty9 ~tk-jetty9-ver :classifier "test"]]
    '[[ring-mock]
      [puppetlabs/trapperkeeper :classifier "test"]
      [puppetlabs/kitchensink :classifier "test"]
-     [puppetlabs/trapperkeeper-webserver-jetty9 "2.2.0" :classifier "test"]
      [org.flatland/ordered "1.5.3"]
      [org.clojure/test.check "0.9.0"]
      [com.gfredericks/test.chuck "0.2.7" :exclusions

(def pdb-version "5.1.6-SNAPSHOT")
(def clj-parent-version "1.4.3")

(defn true-in-env? [x]
  (#{"true" "yes" "1"} (System/getenv x)))

                   :injections [(do
                                  (require 'schema.core)
                                  (schema.core/set-fn-validation! true))]}
             :ezbake {:dependencies ^:replace ~(concat
                                                pdb-dep-pins
                                                `[;; NOTE: we need to explicitly pass in `nil` values
                                                  ;; for the version numbers here in order to correctly
                                                  ;; inherit the versions from our parent project.
                                                  ;; This is because of a bug in lein 2.7.1 that
                                                  ;; prevents the deps from being processed properly
                                                  ;; with `:managed-dependencies` when you specify
                                                  ;; dependencies in a profile.  See:
                                                  ;; https://github.com/technomancy/leiningen/issues/2216
                                                  ;; Hopefully we can remove those `nil`s (if we care)
                                                  ;; and this comment when lein 2.7.2 is available.

                                                  ;; we need to explicitly pull in our parent project's
                                                  ;; clojure version here, because without it, lein
                                                  ;; brings in its own version, and older versions of
                                                  ;; lein depend on clojure 1.6.
                                                  [org.clojure/clojure nil]

                                                  ;; This circular dependency is required because of a bug in
                                                  ;; ezbake (EZ-35); without it, bootstrap.cfg will not be included
                                                  ;; in the final package.
                                                  [puppetlabs/puppetdb ~pdb-version]
                                                  [org.clojure/tools.nrepl nil]])
                      :name "puppetdb"
                      :plugins [[puppetlabs/lein-ezbake "1.8.5"]]}
             :testutils {:source-paths ^:replace ["test"]}
