custom function value in params.pp
I have a module in which I want to access the custom function from the params.pp.
I tried adding it in params.pp like this
$myvar = minute_from_address()
But it doesn't work.
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Syntax error at 'myvar' at /etc/puppetlabs/code/environments/production/modules/testmodule/manifests/params.pp:3:9
However adding to the init.pp will work
Is it possible access custom function returns from params.pp ?