Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ LOCALE_VERSION=0.4.0
CPU_MITIGATIONS_VERSION=0.5.0
PROMETHEUS_VERSION=0.9.0
PROMETHEUS_EXPORTERS_VERSION=1.4.2
GRAFANA_VERSION=5.0.0
GRAFANA_VERSION=5.0.1
VIRTUALIZATION_VERSION=0.6.2
SYSTEM_LOCK_VERSION=0.1
UYUNI_CONFIG_VERSION=0.2
Expand Down
6 changes: 6 additions & 0 deletions grafana-formula/grafana-formula.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Sep 25 12:29:59 UTC 2025 - Witek Bedyk <witold.bedyk@suse.com>

- Version 5.0.1
* Open Grafana port 3000 on firewalld (bsc#1250476)

-------------------------------------------------------------------
Thu Jun 26 11:26:48 UTC 2025 - Witek Bedyk <witold.bedyk@suse.com>

Expand Down
2 changes: 1 addition & 1 deletion grafana-formula/grafana-formula.spec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
%define fname grafana
%define fdir %{_datadir}/susemanager/formulas
Name: grafana-formula
Version: 5.0.0
Version: 5.0.1
Release: 0
Summary: Salt formula for installing and configuring Grafana
License: Apache-2.0
Expand Down
16 changes: 16 additions & 0 deletions grafana-formula/grafana/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,22 @@ grafana-sap-netweaver-dashboards:
pkg.removed
{%- endif %}

{% set firewall_active = salt['service.available']('firewalld') and salt['service.status']('firewalld') %}
{% if firewall_active %}
grafana_service:
firewalld.service:
- name: grafana
- ports:
- 3000/tcp

firewall_grafana:
firewalld.present:
- name: public
- prune_services: False
- services:
- grafana
{% endif %}

grafana-server:
pkg.installed:
- names:
Expand Down