engine: resources: Add new consul resource

This commit adds a new consul:kv resource which allows us to set and
watch keys inside a consul kv datastore.

This was started by roidelapluie, and was finished during pair
programming with purpleidea.

Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
Signed-off-by: James Shubin <james@shubin.ca>
This commit is contained in:
Julien Pivotto
2019-10-31 23:03:55 +01:00
committed by James Shubin
parent ae1860e859
commit 3e16d1da46
5 changed files with 366 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
consul:kv "love" {
key => "mgmt/love",
value => "YES",
}