Fix gopass & infra
This commit is contained in:
parent
06617d7881
commit
b8eb32283f
3 changed files with 3 additions and 4 deletions
|
@ -27,7 +27,7 @@
|
|||
"
|
||||
[devops ::d/devops
|
||||
config ::domain/config]
|
||||
(update-vals config #(run-gopass-command! devops %)))
|
||||
(apply merge (for [[k v] config] {(name k) (run-gopass-command! devops v)})))
|
||||
|
||||
(defn-spec insert-gopass! nil?
|
||||
"Inserts values from the resolved auth config into the c4k auth
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
:opt-un [::field]))
|
||||
(s/def ::config (s/map-of keyword? ::gopass-entry))
|
||||
|
||||
(s/def ::resolved-config (s/map-of keyword? string?))
|
||||
(s/def ::resolved-config (s/map-of string? string?))
|
||||
|
||||
(s/def ::gopass-command (s/coll-of string?))
|
||||
(s/def ::gopass-commands (s/coll-of ::gopass-command))
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
(when debug
|
||||
(println command))
|
||||
(when-not dry-run
|
||||
(->> command
|
||||
(t/shell {:out :string})
|
||||
(->> (t/shell command {:out :string})
|
||||
:out
|
||||
clojure.string/trim))))
|
Loading…
Reference in a new issue