Hello Nan,

Am Montag, 17. September 2012 19:26:59 UTC+2 schrieb Nan Liu:
>
> On Mon, Sep 17, 2012 at 7:54 AM, marco <joed...@googlemail.com<javascript:>> 
> wrote: 
> > Does the puppetmaster compile a catalog _including_ data from the 
> mysql-db 
> > and push it to the client? 
> > Or does the puppetmaster just tell the client: fetch _this_ from the 
> > database? 
>
> The information flows in both direction, export resource writes 
> information as the result of the catalog compilation, and collect 
> resource query the database. Since catalog compilation is normally 
> puppet master's responsibility, the client have no reason to interact 
> with the database directly. 
>
> > Is there any benefit from giving the client access to the mysql-db on 
> the 
> > puppet-master? 
> > Am I missing something that is obvious to everybody but me? 
>
> Enabling storeconfigs on the client supports exported/collect resource 
> via puppet apply, but that is a fairly unusual use case.   
>

Thank you for your reply!

Just to double-check if I understand this correctly:

Enabling the storeconfigs on the client *and* allow it to access the 
mysql-db is *only* useful if
- I distribute my manifest via rsync or git or a puppet file resource.
- and run 'puppet apply somemanifest' by a cronjob on the client?

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/HYLQQt-0D58J.
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.

Reply via email to