Hi there,

I'm trying to setup the permissions on mysql database with multiple web 
servers using puppet-mysql module. I would like to collect all IPs of the 
web servers and run grant on the database server.

It seems exported resources might help. The only way I can think of right 
now is to export the file resources on each web node with IP as the content 
and collect them on the db node. Then I have to load those file content 
using a custom function. Then generate a hash from them that will be sent 
to mysql::server grants variable. 

Is there a easier way to do it? Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/bfe2880e-0f5c-4f6d-b65b-9e832f4f9510%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to