Creating a file with Puppet with facts from multiple hosts
- by Belly
I'm trying to have puppet build a configuration file that looks like this:
[All]
Hosts=apt-dater@puppetmaster;apt-dater@blaster; (etc...)
Basically, this file needs an entry for each node that includes the apt-dater class. I've been experimenting with exported resources, but I can't find a clean way of putting it together. How should I go about creating this file?