Where do I put "source" files on the master so puppet will install them on nodes using Hiera?
I know puppet modules always have a files directory and I know where it's supposed to be and I have used the source => PATH to file syntax effectively in my own, handwritten modules but now I need to learn how to deploy files like sudoers using Hiera.
I'm starting with the saz-sudo module and I've read the docs but I can't see anything about where to put the sudoers file; the one I want to distribute. I'm not sure whether I need to set up a site-wide files dir in /etc/puppetlabs/puppet and then make subdirs in there for every module or what. And does Hiera know to look in /etc/puppetlabs/puppet/files/sudo if I say, source => "puppet:///files/etc/sudoers" ? Do I need to add a pathname in /etc/hiera.yaml? Add a line - files ?