Puppet exported resource naming
- by Tim Brigham
I am working on setting up a collection of Splunk nodes to be deployed by Puppet.
One of the steps in this process is importing the trusts to allow these nodes to automatically find each other.
I've looked over several options and it appears that exported resources are the only ready way to go for this to work. The files I need to create are under /opt/splunk/etc/auth/distServerKeys//trusted.pem. The source for each of these files should be /opt/splunk/etc/auth/distServerKeys/trusted.pem, one per node.
What syntax do I need to make this work? The samples I've looked at all appear to have the same source and destination file name.