refactor(pillar): sync map.jinja with template-formula

This commit is contained in:
Nicolas Rodriguez committed 2019-08-28 03:12:18 +02:00
1 parent 07bf957430
commit e00c316ebe
16 files changed
+185 -50

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
# -*- coding: utf-8 -*-
# vim: ft=sls
{#- Get the `tplroot` from `tpldir` #}
{%- set tplroot = tpldir.split('/')[0] %}
{%- from tplroot ~ "/map.jinja" import cron with context %}
cron.install:
pkg.installed:
- name: {{ cron.pkg }}