I think I have found a small bug in the bakery (1.6.0-2020.11.12.cee) when a custom script should be deployed into
bin on a windows host.
There is one custom package defined:
OMD[cmk]:~/local/share/check_mk/agents/custom$ tree . `-- robotmk-plugin `-- bin `-- robotmk.py
It is shown and activated in the rule I am configuring for a Windows host:
After baking and installing the agent, the script is not placed in the
bin folder, but inside the
I have debugged the
agent_bakery.py script and have found that in case of Windows the
middle_path is empty; it should be
This is how the
middle_path gets set correctly on my side:
Probably not the best and final solution… perhaps someone from tribe29 can have a look on this.