OK, this is how I think I'd like to solve my sample issue in the other thread, but I don't know if its possible now, or a future feature request (if it makes sense.)
Sample issue: configuring haproxy on some servers, when the servers to be included in the configuration will change. The servers of all kinds are first booted, and know their role (web server, proxy, etc) from the boot server. The report this to puppetmaster. Puppetmaster knows the the IP address of the web servers; it knows the template of the haproxy config. Currently, I don't see a way to use this information together in puppet. What would seem to make sense would be if you could query storeconfig data in a manifest. e.g. in psudeo sql: $webservers= &'select machine.ipaddress from storeconfig where machine.role_webserver=true' which would return an array of ipaddresses to the variable $webservers, that could then be used in templates. Is something like this possible now? Or make sense? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---