add .editorconfig, format files correctly
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
b42e39ed0a
commit
fbb8840dff
33 changed files with 240 additions and 238 deletions
16
.editorconfig
Normal file
16
.editorconfig
Normal 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
|
|
@ -1,10 +1,3 @@
|
||||||
# __ ____
|
|
||||||
# / /_ __ ______ ____/ / /__ _ ___________ _____
|
|
||||||
# / __ \/ / / / __ \/ __ / / _ \ | /| / / ___/ __ `/ __ \
|
|
||||||
# / /_/ / /_/ / / / / /_/ / / __/ |/ |/ / / / /_/ / /_/ /
|
|
||||||
#/_.___/\__,_/_/ /_/\__,_/_/\___/|__/|__/_/ \__,_/ .___/
|
|
||||||
# /_/
|
|
||||||
#
|
|
||||||
# CAUTION! This file is managed with bundlewrap.
|
# CAUTION! This file is managed with bundlewrap.
|
||||||
# Any manual edits will be lost!
|
# Any manual edits will be lost!
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,3 @@
|
||||||
# __ ____
|
|
||||||
# / /_ __ ______ ____/ / /__ _ ___________ _____
|
|
||||||
# / __ \/ / / / __ \/ __ / / _ \ | /| / / ___/ __ `/ __ \
|
|
||||||
# / /_/ / /_/ / / / / /_/ / / __/ |/ |/ / / / /_/ / /_/ /
|
|
||||||
#/_.___/\__,_/_/ /_/\__,_/_/\___/|__/|__/_/ \__,_/ .___/
|
|
||||||
# /_/
|
|
||||||
#
|
|
||||||
# CAUTION! This file is managed with bundlewrap.
|
# CAUTION! This file is managed with bundlewrap.
|
||||||
# Any manual edits will be lost!
|
# Any manual edits will be lost!
|
||||||
|
|
||||||
|
|
|
@ -90,6 +90,7 @@ def notify_per_sms():
|
||||||
|
|
||||||
|
|
||||||
def notify_per_mail():
|
def notify_per_mail():
|
||||||
|
# editorconfig-checker-disable
|
||||||
text = """
|
text = """
|
||||||
_ _
|
_ _
|
||||||
(_)____(_)___ ____ _____ _
|
(_)____(_)___ ____ _____ _
|
||||||
|
@ -108,6 +109,7 @@ Service: {service}"""
|
||||||
State: {state}
|
State: {state}
|
||||||
|
|
||||||
{output}"""
|
{output}"""
|
||||||
|
# editorconfig-checker-enable
|
||||||
|
|
||||||
mail = email.mime.text.MIMEText(text.format(
|
mail = email.mime.text.MIMEText(text.format(
|
||||||
host=args.host_name,
|
host=args.host_name,
|
||||||
|
|
|
@ -17,12 +17,6 @@ defaults = {
|
||||||
'icingaweb2': {},
|
'icingaweb2': {},
|
||||||
'icingaweb2-module-monitoring': {},
|
'icingaweb2-module-monitoring': {},
|
||||||
|
|
||||||
# needed for check_rbl
|
|
||||||
'libdata-validate-ip-perl': {},
|
|
||||||
'libmonitoring-plugin-perl': {},
|
|
||||||
'libnet-dns-perl': {},
|
|
||||||
'libreadonly-perl': {},
|
|
||||||
|
|
||||||
# neeeded for statusmonitor
|
# neeeded for statusmonitor
|
||||||
'python3-flask': {},
|
'python3-flask': {},
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/usr/bin/env perl
|
#!/usr/bin/env perl
|
||||||
|
# editorconfig-checker-disable-file
|
||||||
# check_nginx_status.pl
|
# check_nginx_status.pl
|
||||||
# Author : regis.leroy at makina-corpus.com
|
# Author : regis.leroy at makina-corpus.com
|
||||||
# Licence : GPL - http://www.fsf.org/licenses/gpl.txt
|
# Licence : GPL - http://www.fsf.org/licenses/gpl.txt
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
# editorconfig-checker-disable-file
|
||||||
# created by McArt <hello@mcart.ru> http://www.mcart.ru/
|
# created by McArt <hello@mcart.ru> http://www.mcart.ru/
|
||||||
|
|
||||||
# Uncomment to enable debugging
|
# Uncomment to enable debugging
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/usr/bin/perl -w
|
#!/usr/bin/perl -w
|
||||||
|
# editorconfig-checker-disable-file
|
||||||
# Check SMART status of ATA/SCSI/NVMe drives, returning any usable metrics as perfdata.
|
# Check SMART status of ATA/SCSI/NVMe drives, returning any usable metrics as perfdata.
|
||||||
# For usage information, run ./check_smart -h
|
# For usage information, run ./check_smart -h
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
# editorconfig-checker-disable-file
|
||||||
#
|
#
|
||||||
# Plugin to check free ram space
|
# Plugin to check free ram space
|
||||||
# using check_by_ssh
|
# using check_by_ssh
|
||||||
|
|
|
@ -45,7 +45,7 @@ if node.has_bundle('systemd-networkd'):
|
||||||
|
|
||||||
if node.has_bundle('netdata'):
|
if node.has_bundle('netdata'):
|
||||||
files['/etc/netdata/go.d/unbound.conf'] = {
|
files['/etc/netdata/go.d/unbound.conf'] = {
|
||||||
'source': 'netdata-unbound.conf',
|
'source': 'netdata-unbound.yaml',
|
||||||
'triggers': {
|
'triggers': {
|
||||||
'svc_systemd:netdata:restart',
|
'svc_systemd:netdata:restart',
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue