# calling function in same manifest and different puppet file

I have my main file within my manifest. To divide the work, I am creating additional files. I want these additional files to return a string in a certain format., I therefore created a function, multiple files with multiple functions and want to invoke these functions from the main file and get the results.

util.pp

functions mymodule::retrieveData() >> String {
..
"${results}" }  main file: require util.pp$items = retrieveData()


The issue lies in