updated some jinja templates

This commit is contained in:
Paul 2020-07-30 14:10:22 +02:00
parent 6e2a084f61
commit 5e2e60d3c8
9 changed files with 23 additions and 11 deletions

View File

@ -1,4 +1,5 @@
{%- from "dkron/map.jinja" import dkron with context -%}
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
{%- from "dkron/map.jinja" import dkron with context %}
[Unit]
Description=dkron - Open Source task scheduler
Documentation=https://dkron.io/

View File

@ -1,3 +1,4 @@
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
{%- from "qrz/map.jinja" import qrz with context %}
[Unit]
Description=QRZ

View File

@ -1,4 +1,6 @@
{%- from "ssh/map.jinja" import ssh with context -%}
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
{%- from "ssh/map.jinja" import ssh with context %}
{% set net4=[] -%}
{%- for key, value in salt['pillar.get']('net:ipv4_networks').items() -%}

View File

@ -1,4 +1,5 @@
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
{%- from "sudo/map.jinja" import sudo with context %}
{%- if sudo.config.defaults is defined -%}

View File

@ -1,4 +1,5 @@
{%- from "telegraf/map.jinja" import telegraf with context -%}
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
{%- from "telegraf/map.jinja" import telegraf with context %}
[Unit]
Description=The plugin-driven server agent for reporting metrics into InfluxDB
Documentation=https://github.com/influxdata/telegraf

View File

@ -1,4 +1,5 @@
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
{% from "tor/map.jinja" import tor with context %}
ORPort {{ tor.config.exit_port }}

View File

@ -1,6 +1,7 @@
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
{%- from "vsftpd/map.jinja" import vsftpd with context %}
{%- for key, value in vsftpd.config.items() %}
{{ key }}={{ value }}
{%- endfor %}

View File

@ -11,6 +11,10 @@ export GOROOT=/usr/local/go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
# Rust settings
export PATH=$PATH:$HOME/.cargo/bin
# Oh my ZSH settings
export ZSH=/usr/share/oh-my-zsh
ZSH_THEME="jreese"