Ales Komarek | b08b9cd | 2014-09-08 16:01:03 +0200 | [diff] [blame] | 1 | {%- from "tftpd_hpa/map.jinja" import server with context %} |
2 | {%- if server.enabled %} | ||||
3 | |||||
4 | tftpd_hpa_package: | ||||
5 | pkg.installed: | ||||
6 | - pkgs: {{ server.pkgs }} | ||||
7 | |||||
8 | tftpd_hpa_service: | ||||
9 | service.running: | ||||
10 | - name: {{ server.service }} | ||||
Ales Komarek | 030a807 | 2014-09-09 15:36:17 +0200 | [diff] [blame] | 11 | - enable: true |
Ales Komarek | b08b9cd | 2014-09-08 16:01:03 +0200 | [diff] [blame] | 12 | - running: true |
13 | |||||
14 | {%- endif %} |