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 }} | ||||
11 | - enabled: true | ||||
12 | - running: true | ||||
13 | |||||
14 | {%- endif %} |