commit | c34794af51192ec433bc1697bc14e485e5b1c4a8 | [log] [tgz] |
---|---|---|
author | Éric Lemoine <elemoine@mirantis.com> | Wed Nov 16 15:25:46 2016 +0000 |
committer | Éric Lemoine <elemoine@mirantis.com> | Wed Nov 16 15:25:53 2016 +0000 |
tree | 5b376d8ed536822d9b4f1bf62a198cf1443d9485 | |
parent | 6a2f5e85e4c2d0391a84894cd04195cefa42cc2a [diff] |
Make Heka service watch Lua dir In this way the service will restart when the content of /usr/share/lma_collector changes.
diff --git a/heka/_service.sls b/heka/_service.sls index 93e543f..d2574b2 100644 --- a/heka/_service.sls +++ b/heka/_service.sls
@@ -70,6 +70,8 @@ service.running: - name: {{ service_name }} - enable: True + - watch: + - file: /usr/share/lma_collector {# Setup basic structure for all roles so updates can apply #}