Skip to content

Commit a671f45

Browse files
committed
fix failing new bakery rules debug
1 parent 59f43c5 commit a671f45

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

  • mkp/local/lib/python3/cmk/base/cee/plugins/bakery

mkp/local/lib/python3/cmk/base/cee/plugins/bakery/yum.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ def get_yum_files(conf: Any) -> FileGenerator:
1616
"""
1717

1818
# debugging - might become an option later
19-
with open('/tmp/debug-get_yum_files.txt', 'a') as debug_file:
20-
debug_file.write(f'config: {conf}\n')
19+
#with open('/tmp/debug-get_yum_files.txt', 'a') as debug_file:
20+
# debug_file.write(f'config: {conf}\n')
2121

2222
# default to no interval - will be filled if set in config
2323
interval = None
@@ -44,6 +44,11 @@ def get_yum_files(conf: Any) -> FileGenerator:
4444
interval = None
4545
deploy_plugin = True
4646

47+
# debugging - might become an option later
48+
# with open('/tmp/debug.txt', 'a') as debug_file:
49+
# debug_file.write(f'conf: {conf}\n')
50+
# debug_file.write(f'deploy_plugin: {deploy_plugin}\n')
51+
4752
if deploy_plugin:
4853
# only makes sense on Linux so just create for that OS
4954
yield Plugin(

0 commit comments

Comments
 (0)