Skip to content
Snippets Groups Projects
Commit ea2961cf authored by skorpy's avatar skorpy :construction_worker:
Browse files

Fix trailing whitespaces

Fixes salt-lint error 201.
parent 6982c268
No related branches found
No related tags found
1 merge request!527gitlab-ci: Added salt-lint
Pipeline #24061 failed
......@@ -10,7 +10,7 @@
/etc/systemd/system/prometheus-batadv-txtexport.timer:
file.managed:
- source:
- source:
- salt://batman_adv/files/prometheus-batadv-txtexport.timer.{{ grains['oscodename'] }}
- salt://batman_adv/files/prometheus-batadv-txtexport.timer
- mode: '0644'
......
......@@ -69,7 +69,7 @@ net.ipv4.neigh.default.gc_thresh3:
net.ipv6.neigh.default.gc_thresh1:
sysctl.present:
- value: 2048
- value: 2048
- config: {{ sysctld }}/neigh.conf
net.ipv6.neigh.default.gc_thresh2:
......@@ -92,7 +92,7 @@ net.ipv6.conf.all.forwarding:
sysctl.present:
- value: 1
- config: {{ sysctld }}/forward.conf
# Increase the r/w-buffer-space allocatable
#core
......@@ -149,8 +149,8 @@ net.ipv6.conf.all.keep_addr_on_down:
sysctl.present:
- value: 1
- config: {{ sysctld }}/keep_addr_on_down.conf
## IPv4 tuning
#Prevent SYN attack, enable SYNcookies (they will kick-in when the max_syn_backlog reached)
......@@ -216,7 +216,7 @@ net.ipv6.route.max_size:
sysctl.present:
- value: 8388608
- config: {{ sysctld }}/forward.conf
# Accept Redirects; default = 0
net.ipv6.conf.default.accept_redirects:
sysctl.present:
......
{% set transport_interface = salt['pillar.get']('ferm:transport_interface', 'ens14') %}
{% set transport_interface = salt['pillar.get']('ferm:transport_interface', 'ens14') %}
/etc/network/interfaces.d/{{ transport_interface }}:
file.managed:
- source: salt://network/files/transport_interface.j2
......
......@@ -7,7 +7,7 @@
/etc/nginx/sites-available/{{ name }}.conf:
file.managed:
- source:
- source:
{%- if cert_exists %}
- salt://nginx/files/sites/{{ name }}.conf.j2
- salt://nginx/files/sites/default-https.conf.j2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment