Currently, the package in Stretch for the grid-master creates a service via a somewhat broken sysV init script. After package install this needs to be stripped out and replaced with a systemd unit like I added for the shadow master in the module.
The biggest thing is making sure the old script is gone from all runlevels and then the new one uses the correct pidfile (since these are forking systemd units) of /var/spool/gridengine/qmaster/qmaster.pid
Currently, it does work as I've got it set up. It just doesn't reliably shut down or restart the service every time. Killall is a better way to stop the sge_qmaster process on the master until this is done. Note: I removed the disabling of status checks because that actually caused systemd to break the grid once in a while by starting the service as root--not exactly sure why, but the current puppet keeps it up at least.