I want to manage the data, needed by the modules, in the modules itself with the help of Hiera and ".yaml"-files, which contain the configuration data. I want every single module to have it's own "hiera.yaml"-file. That file should tell Hiera in which subdirectories of the module Hiera can find the data. But the problem is: Puppet doesn't execute the module's hiera.yaml-file but always the /etc/hiera.yaml-file when I execute the command "puppet agent --test".
Can anyone help me?