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 <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2015-10-19 15:56:52 -04:00
parent 1afd6f92b1
commit 532977b91b
1 changed files with 1 additions and 0 deletions

View File

@ -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'],