{"push_id":1077088541,"size":1,"distinct_size":1,"ref":"refs/heads/bugfix/MON-9259-master-nodes-no-longer-approves","head":"8ee0475f4e0536b2d2c24158e29301656d16083f","before":"71a001a1e4e2dff1328c169b24df98e5880cae53","commits":[{"sha":"8ee0475f4e0536b2d2c24158e29301656d16083f","author":{"email":"11ff0ed4b173c2b44d21c35097fce4e7179c0125@op5.com","name":"Sidharta Bhapur"},"message":"Add mon oconf poller-fix\n\nThe idea, as suggested by peklof, is to remove configuration\nfiles on pollers that shouldn't be there, by modifying the\nnaemon.cfg file and also removing files mentioned in cfg_file\nstatements. The only object config line we keep uncommented in\nnaemon.cfg is \"cfg_dir=oconf\", which is where the object config\nfile from the master (aptly named from-master.cfg) ends up.\n\nWhile at it, we make sure to use the return value from the\nfunction we call as the exit-code from mon.py.in, which\nlets us call command-module functions directly from each\nother while still retaining their return codes for the\nbenefit of the shell.\n\nTests are added to 'make check', but as their own target so\nas to not interfere with the autogenerated actions for\n'make check'.\n\nThis fixes issue MON-9259\n\nSigned-off-by: Andreas Ericsson <ae@op5.se>\nSigned-off-by: Sidharta Bhapur <sbhapur@op5.com>","distinct":true,"url":"https://api.github.com/repos/op5/merlin/commits/8ee0475f4e0536b2d2c24158e29301656d16083f"}]}