syntax errors in osspi_alarmdef file

After discovery, I distributes osspi templates to the node, including the OSSPI-alarmdef_write, but I get syntax errors. The process did not create the osspi_alarmdef file, but instead created the osspi_alarmdef.chk file, which was expected.