Compare commits
No commits in common. "0b2ac0d289a0394cfe2d58ff7d6c6f32d144e08a" and "87131fa50ff5d345989d7aca111e923b9d415cd9" have entirely different histories.
0b2ac0d289
...
87131fa50f
1 changed files with 3 additions and 3 deletions
|
@ -17,7 +17,7 @@
|
|||
c (domain/gopass-show-command entry)]
|
||||
(i/execute-output! c config)))
|
||||
|
||||
(defn-spec resolve-gopass! ::domain/resolved-config
|
||||
(defn-spec resolve-gopass! ::resolved-config
|
||||
"Resolves gopass values inside a map of key names and entries
|
||||
|
||||
entries may either contain only a path
|
||||
|
@ -36,14 +36,14 @@
|
|||
can be changed by adding another value for ':c4k-auth-filename'
|
||||
"
|
||||
[devops ::d/devops
|
||||
resolved-config ::domain/resolved-config]
|
||||
resolved-config ::resolved-config]
|
||||
(let [config (merge default devops)
|
||||
default-c4k-auth (parse-string (slurp (c4k-d/auth-path config))
|
||||
(fn [k] (keyword (.toLowerCase k))))]
|
||||
(->> default-c4k-auth
|
||||
(merge resolved-config)
|
||||
(generate-string)
|
||||
(spit (c4k-d/auth-path config)))))
|
||||
(spit (domain/config-path config)))))
|
||||
|
||||
|
||||
(st/instrument `run-gopass-command!)
|
||||
|
|
Loading…
Reference in a new issue