piechart-panel.sls 913 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. # Grafana-Piechart-Panel
  2. grafana-piechart:
  3. cmd.run:
  4. - name: grafana-cli plugins install grafana-piechart-panel
  5. - creates: /var/lib/grafana/plugins/grafana-piechart-panel
  6. - watch_in:
  7. - service: grafana
  8. grafana-imagerenderer-deps:
  9. pkg.installed:
  10. - pkgs:
  11. - libxdamage1
  12. - libxext6
  13. - libxi6
  14. - libxtst6
  15. - libnss3
  16. - libnss3
  17. - libcups2
  18. - libxss1
  19. - libxrandr2
  20. - libasound2
  21. - libatk1.0-0
  22. - libatk-bridge2.0-0
  23. - libpangocairo-1.0-0
  24. - libpango-1.0-0
  25. - libcairo2
  26. - libatspi2.0-0
  27. - libgtk3.0-cil
  28. - libgdk3.0-cil
  29. - libx11-xcb-dev
  30. grafana-imagerenderer:
  31. cmd.run:
  32. - name: grafana-cli plugins install grafana-image-renderer
  33. - creates: /var/lib/grafana/plugins/grafana-image-renderer
  34. - watch_in:
  35. - service: grafana
  36. - require:
  37. - pkg: grafana-imagerenderer-deps