When stopping maintenance jobs, the switchdc cookbook runs ! pgrep -c php, which fails because there are still php-fpm processes running (from noc.wm.o). It displayed a message like "Stray php processes still present on the codfw maintenance host, please check" even though ps showed no actual PHP processes, just php-fpm
It should look for only processes running /usr/bin/php instead.