It was not possible to add string type values to the $configs hash, since the values were written to the config unqouted. But needrestart needs this string values quoted
The parameter package_name and packge_ensure were not used in the install class. HEnce if somebody will set this values it does not have any effect
I have fixed some issues:
Also I've refined the spec tests.