In combination with stdlib::manage I want to be able to use Puppet functions from hiera data.
e.g.
stlib::manage::create_reosurces:
file:
'/etc/motd':
ensure: file
content: %{epp('profile/motd.epp')}
Actual result:
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Unable to parse (/etc/puppetlabs/code/environments/production/data/common.yaml): found character '%' that cannot start any token. (Do not use % for indentation) while scanning for the next token at line 72 column 16
Desired result: The content is rendered from the template.