{% from "template/map.jinja" import template with context %}

template:
  pkg:
    - installed
    - name: {{ template.pkg }}
  service:
    - running
    - name: {{ template.service }}
    - enable: True

{% from "template/map.jinja" import template with context %}

template:
  pkg.installed:
    - name: {{ template.pkg }}
  service.running:
    - name: {{ template.service }}
    - enable: True

Change states to use short-dec style
Change states to use short-dec style

hoonetorg/template-formula