export ips from nodes to puppetdb.

asked 2018-03-12 14:17:47 -0600

Research PuppetDB export/imports for bastion host project.

The goal is to have a module with a resource like


{ somekey': ensure => present, user => 'ec2-user', type => 'ssh-rsa', key => 'blahblah', options => "$imported_options" } where $imported_options is equal to

from=",, "

where,, is a comma-separated list dynamically generated from PuppetDB.

What is the best way to have Puppet clients matching a certain criterion export their IPs to PuppetDB in a way they can be used by this module.

edit retag flag offensive close merge delete