add chkconfig support to init script and fix annoying deprecation warnin...

...gs from puppet