non string parameters allowed

While upgrading to puppet 3.5.1 this function did break because it got a Integer as parameter instead of a string.