{%- load_yaml as base_defaults %} Debian: pkgs: - grafana service: grafana-server bind: address: 0.0.0.0 port: 3000 {%- endload %} {%- set server = salt['grains.filter_by'](base_defaults, merge=salt['pillar.get']('grafana:server')) %}