Closed atatara closed 6 years ago
Hi,
Thanks for raising this - your Hiera values should be passed into the main consul_template
class, so there should be no need to modify the service.pp
file directly.
For example, in Hiera:
consul_template::service_ensure: 'stopped'
consul_template::service_enable: false
Can you also confirm the version of Puppet you are using?
Thanks, Craig
@atatara as this issue hasn't seen any activity in a couple of months, I'll close it for now. Please do feel free to re-open if the problem can't be solved using Hiera as I explained above.
While removing consul-service from chkconfig, I noticed that module is not taking proper action according to values set in hiera. This is fixed in the attached file with hiera lookup.