Writing kv to consul with puppet [closed]
Here is my requirement: I need to write a value to consul through puppet - say $::hostname as the value to a key called vm_name in consul. How do i write to consul with puppet, do we have a puppet module which does that? In the consul docs, I see that there is a way to use curl command to write, I would like to know if there is any other module in forge which does that. Please provide examples. Thanks!