Collection of CheckMK checks (see https://checkmk.com/). All checks and plugins are provided as is. Absolutely no warranty. Send any comments to thl-cmk[at]outlook[dot]com

Skip to content
Snippets Groups Projects
Commit 88fd7044 authored by thl-cmk's avatar thl-cmk :flag_na:
Browse files

update project

parent a4143dee
No related branches found
No related tags found
No related merge requests found
No preview for this file type
...@@ -29,12 +29,13 @@ def get_unbound_files(conf) -> FileGenerator: ...@@ -29,12 +29,13 @@ def get_unbound_files(conf) -> FileGenerator:
base_os=OS.LINUX, base_os=OS.LINUX,
source=Path('unbound'), source=Path('unbound'),
) )
if config_file_path := conf.get('config_file_path'): if isinstance(conf, dict):
yield PluginConfig( if config_file_path := conf.get('config_file_path'):
base_os=OS.LINUX, yield PluginConfig(
lines=[f'UNBOUND_CFG={config_file_path}'], base_os=OS.LINUX,
target=Path('unbound.cfg'), lines=[f'UNBOUND_CFG={config_file_path}'],
) target=Path('unbound.cfg'),
)
register.bakery_plugin( register.bakery_plugin(
......
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