add .editorconfig, format files correctly
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2021-02-17 10:56:18 +01:00
parent b42e39ed0a
commit fbb8840dff
Signed by: kunsi
GPG key ID: 12E3D2136B818350
33 changed files with 240 additions and 238 deletions

16
.editorconfig Normal file
View file

@ -0,0 +1,16 @@
root = true
[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.yaml]
indent_size = 2
# possibly sql dumps
[*.sql]
indent_size = unset

View file

@ -1,10 +1,3 @@
# __ ____
# / /_ __ ______ ____/ / /__ _ ___________ _____
# / __ \/ / / / __ \/ __ / / _ \ | /| / / ___/ __ `/ __ \
# / /_/ / /_/ / / / / /_/ / / __/ |/ |/ / / / /_/ / /_/ /
#/_.___/\__,_/_/ /_/\__,_/_/\___/|__/|__/_/ \__,_/ .___/
# /_/
#
# CAUTION! This file is managed with bundlewrap.
# Any manual edits will be lost!

View file

@ -1,10 +1,3 @@
# __ ____
# / /_ __ ______ ____/ / /__ _ ___________ _____
# / __ \/ / / / __ \/ __ / / _ \ | /| / / ___/ __ `/ __ \
# / /_/ / /_/ / / / / /_/ / / __/ |/ |/ / / / /_/ / /_/ /
#/_.___/\__,_/_/ /_/\__,_/_/\___/|__/|__/_/ \__,_/ .___/
# /_/
#
# CAUTION! This file is managed with bundlewrap.
# Any manual edits will be lost!

View file

@ -90,6 +90,7 @@ def notify_per_sms():
def notify_per_mail():
# editorconfig-checker-disable
text = """
_ _
(_)____(_)___ ____ _____ _
@ -108,6 +109,7 @@ Service: {service}"""
State: {state}
{output}"""
# editorconfig-checker-enable
mail = email.mime.text.MIMEText(text.format(
host=args.host_name,

View file

@ -17,12 +17,6 @@ defaults = {
'icingaweb2': {},
'icingaweb2-module-monitoring': {},
# needed for check_rbl
'libdata-validate-ip-perl': {},
'libmonitoring-plugin-perl': {},
'libnet-dns-perl': {},
'libreadonly-perl': {},
# neeeded for statusmonitor
'python3-flask': {},
}

View file

@ -1,4 +1,5 @@
#!/usr/bin/env perl
# editorconfig-checker-disable-file
# check_nginx_status.pl
# Author : regis.leroy at makina-corpus.com
# Licence : GPL - http://www.fsf.org/licenses/gpl.txt

View file

@ -1,4 +1,5 @@
#!/bin/bash
# editorconfig-checker-disable-file
# created by McArt <hello@mcart.ru> http://www.mcart.ru/
# Uncomment to enable debugging

View file

@ -1,4 +1,5 @@
#!/usr/bin/perl -w
# editorconfig-checker-disable-file
# Check SMART status of ATA/SCSI/NVMe drives, returning any usable metrics as perfdata.
# For usage information, run ./check_smart -h
#

View file

@ -1,4 +1,5 @@
#!/bin/bash
# editorconfig-checker-disable-file
#
# Plugin to check free ram space
# using check_by_ssh

View file

@ -45,7 +45,7 @@ if node.has_bundle('systemd-networkd'):
if node.has_bundle('netdata'):
files['/etc/netdata/go.d/unbound.conf'] = {
'source': 'netdata-unbound.conf',
'source': 'netdata-unbound.yaml',
'triggers': {
'svc_systemd:netdata:restart',
},