From 532977b91b05fc2e54235b71267a81ba6331154f Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Mon, 19 Oct 2015 15:56:52 -0400 Subject: [PATCH] Run grafana_dashboard_update when install_grafyaml changes Currently we only update when dashboards changes, this also add an update if a newer version of grafyaml is installed. Change-Id: I6ef10cd8c746d0c485f60910de658e7101f14658 Signed-off-by: Paul Belanger --- manifests/init.pp | 1 + 1 file changed, 1 insertion(+) diff --git a/manifests/init.pp b/manifests/init.pp index a7bccf6..9b27b62 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -30,6 +30,7 @@ class grafyaml ( exec { 'install_grafyaml': command => 'pip install /opt/grafyaml', + notify => Exec['grafana_dashboard_update'], path => '/usr/local/bin:/usr/bin:/bin/', refreshonly => true, subscribe => Vcsrepo['/opt/grafyaml'],