Fix bind role always having failed evochecks #93

Manually merged
Ghost merged 10 commits from bind9_evocheck_fix into unstable 2020-03-10 18:49:21 +01:00

10 commits

Author SHA1 Message Date
Patrick Marchand 131004136e Fix mistake in bind logrotate template name
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
Just a minor typo, but stops it from running.
2020-01-14 15:15:58 +01:00
Patrick Marchand cf8cca745e hardcode chrooted bind variables
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
The current chroot-bind.sh is legacy code that cannot be migrated
without a proper understanding of it's historical context. This
context might still apply and this script is still used on a variety
of new and old machines. By hardcoding the paths when the user
requests a chroot, we limit possible breakage.
2019-11-26 17:17:48 -05:00
Patrick Marchand 5008b79ef5 Remove remaining hardcoded log paths from bind role
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
We had variables for the log paths, but these were not being used
by all templates.
2019-11-26 14:04:20 -05:00
Patrick Marchand 7728f5f0c5 Made sure munin and logrotate use the proper path for bind logs
Not all code paths made sure that the chroot was taken into account.
2019-11-26 14:02:28 -05:00
Patrick Marchand b7a223dbdd use yes / no instead of True / False for certain flags in bind role
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2019-11-26 11:58:42 -05:00
Patrick Marchand 3ede484242 Standardization of booleans for bind role
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2019-11-26 11:53:05 -05:00
Patrick Marchand 839db42c81 Revert "yaml lint and quoting standardisation for bind role"
This reverts commit 6118dda7c9.
2019-11-26 11:48:21 -05:00
Patrick Marchand 6118dda7c9 yaml lint and quoting standardisation for bind role
Some checks reported errors
continuous-integration/drone/push Build encountered an error
continuous-integration/drone/pr Build encountered an error
2019-10-09 12:15:55 -04:00
Patrick Marchand 2bbebded9e Migrated bind role to python booleans 2019-10-09 12:07:14 -04:00
Patrick Marchand c6804e73e7 Adapted the bind role to respect the evocheck warnings
The required munin plugins and the logging necessary for them to work is
now activated depending on the type of resolver and the logrotate file is
changed from bind to bind9.
2019-10-09 11:54:30 -04:00