change require to regex, fixes travis tests on older puppet