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:
committed by
James Shubin
parent
ae1860e859
commit
3e16d1da46
4
examples/lang/consul1.mcl
Normal file
4
examples/lang/consul1.mcl
Normal file
@@ -0,0 +1,4 @@
|
||||
consul:kv "love" {
|
||||
key => "mgmt/love",
|
||||
value => "YES",
|
||||
}
|
||||
Reference in New Issue
Block a user