Notify consul-template service about changes on source ctmpl
This commit is contained in:
Родитель
bcb141c533
Коммит
a0354b1a71
|
@ -21,5 +21,6 @@ define consul_template::watch (
|
|||
target => 'consul-template/config.json',
|
||||
content => "template {\n source = \"${consul_template::config_dir}/${name}.ctmpl\"\n destination = \"${destination}\"\n command = \"${command}\"\n}\n\n",
|
||||
order => '10',
|
||||
notify => Service['consul-template']
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче