make iteration of hash consistent when using ruby 1.8 with puppet 3 for source and forrest_match templates