is_integer doesn't play nice with Hiera, since it seems like YAML numbers are converted to strings. Use a regular expression instead