Puppet exported resource naming

Posted by Tim Brigham on Server Fault See other posts from Server Fault or by Tim Brigham
Published on 2012-06-12T15:53:19Z Indexed on 2012/06/12 16:42 UTC
Read the original article Hit count: 249

Filed under:

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.

© Server Fault or respective owner

Related posts about puppet