This repository has been archived by the owner on Dec 2, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
68 lines (48 loc) · 2.67 KB
/
project.clj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
(def puppetserver-version
"Version of Puppet Server to develop and test against"
(get (System/getenv) "PUPPETSERVER_VERSION" "5.1.6"))
(defproject sharpie/facts-upload "1.1.0"
:description "Puppet Server endpoint for the facts upload command"
:license {:name "Apache License 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0.html"}
:pedantic? :abort
:min-lein-version "2.7.1"
:plugins [[lein-parent "0.3.5"]]
; clj-parent version used by puppetserver 5.1.6 / PE 2017.3.10
:parent-project {:coords [puppetlabs/clj-parent "1.7.1"]
:inherit [:managed-dependencies]}
:source-paths ["src/clj"]
:resource-paths ["src/ruby"]
:test-paths ["test/integration"]
:dependencies [[org.clojure/clojure]
[ring/ring-core]
[puppetlabs/comidi]
[puppetlabs/ring-middleware]
[puppetlabs/trapperkeeper]
[puppetlabs/trapperkeeper-status]
[puppetlabs/trapperkeeper-webserver-jetty9]
[puppetlabs/puppetserver ~puppetserver-version]]
:profiles {:dev {:source-paths ["dev"]
:repl-options {:init-ns tk-devtools}
:resource-paths ["dev-resources"]
:dependencies [[org.clojure/tools.namespace]
[org.clojure/tools.nrepl]
[cheshire]
[ring-mock]
;; Re-declare dependencies with "test"
;; classifiers to pull in additional testing
;; code, helper functions and libraries.
[puppetlabs/trapperkeeper-webserver-jetty9 nil :classifier "test"]
[puppetlabs/trapperkeeper nil :classifier "test" :scope "test"]
[puppetlabs/kitchensink nil :classifier "test" :scope "test"]
[puppetlabs/http-client]
[me.raynes/fs]
;; Convert data between JRuby and Clojure objects.
[zweikopf "1.0.2" :exclusions [org.jruby/jruby-complete]]
[puppetlabs/puppetserver ~puppetserver-version :classifier "test" :scope "test"]]}
:puppet-module {:jar-name "facts-upload.jar"}}
:test-selectors {:integration :integration}
:aliases {"tk" ["trampoline" "run"
"--bootstrap-config" "dev-resources/facts-upload/bootstrap.cfg"
"--config" "dev-resources/facts-upload/config.conf"]}
:main puppetlabs.trapperkeeper.main)