---
{%- from "ipbl/map.jinja" import ipbl with context %}
ipbl-service-file:
  file.managed:
    - name: /etc/systemd/system/ipbl.service
    - source: salt://ipbl/ipbl.service.j2
    - user: root
    - group: root
    - template: jinja

ipbl-service:
  service.running:
    - name: ipbl
    - enable: true