Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hi shagone,

According to your problem statement you would need to use export and collect resource. It would help you to exchange information between two(or more) agent nodes. Your puppet.conf file must have storeconfigs = true in master section.

Export resource could be used on the node where you want to expose the information(letting other agent know about the public key). The collector sigils could be used in the manifest where you want to store it in your authorized_keys file. Please check this out: https://docs.puppetlabs.com/puppet/latest/reference/lang_exported.html

I hope this would help you to resove your problem. Cheers!!!

Hi shagone,

According to your problem statement you would need to use export and collect resource. It would help you to exchange information between two(or more) agent nodes. Your puppet.conf file must have storeconfigs = true in master section.

Export resource could be used on the node where you want to expose the information(letting other agent know about the public key). The collector sigils could be used in the manifest where you want to store it in your authorized_keys file. Please check this out: https://docs.puppetlabs.com/puppet/latest/reference/lang_exported.html https://docs.puppetlabs.com/puppet/latest/reference/lang_collectors.html

I hope this would help you to resove resolve your problem. Cheers!!!

Hi shagone,

According to your problem statement you would need to use export and collect resource. It would help you to exchange information between two(or more) agent nodes. Your puppet.conf file must have storeconfigs = true in master section.

Export resource could be used on the node where you want to expose the information(letting other agent know about the public key). The collector sigils could be used in the manifest where you want to store it in your authorized_keys file. Please check this out: https://docs.puppetlabs.com/puppet/latest/reference/lang_exported.html

https://docs.puppetlabs.com/puppet/latest/reference/lang_collectors.html

I hope this would help you to resolve your problem. Cheers!!!