Hi, While at LCA this year I was talking to James Turnbull, and I think he said it was possible to a) pull files off a puppet client to the puppet master b) push those files out to other puppet clients I''ve been reading up on FileBucket and I don''t understand how I can achieve that, or if I''m on the right track. Whats at http://reductivelabs.com/trac/puppet/wiki/TypeReference#filebucket suggests that I''m not on the right track. Can anyone suggest of the right way to use filebucket to do this, or if there is something else I should be reading up on. My end goal for this is to build a /var/lib/misc/passwd.db and group.db on the puppet master (using nss_updatedb, from ldap), and then push out those .db files to the puppet clients. Thanks! -- +-Geoff Crompton +--Debian System Administrator +---Trinity College --~--~---------~--~----~------------~-------~--~----~ 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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On Feb 10, 2009, at 9:17 PM, Geoff Crompton wrote:> > Hi, > > While at LCA this year I was talking to James Turnbull, and I think he > said it was possible to > a) pull files off a puppet client to the puppet master > b) push those files out to other puppet clients > > I''ve been reading up on FileBucket and I don''t understand how I can > achieve that, or if I''m on the right track. Whats at > http://reductivelabs.com/trac/puppet/wiki/TypeReference#filebucket > suggests that I''m not on the right track. > > Can anyone suggest of the right way to use filebucket to do this, or > if > there is something else I should be reading up on. > > My end goal for this is to build a /var/lib/misc/passwd.db and > group.db > on the puppet master (using nss_updatedb, from ldap), and then push > out > those .db files to the puppet clients. >You can do this a number of ways that don''t necessarily need a file bucket. class foo { filebucket { main: server => puppet } file { "/var/lib/misc/passwd.db": source => "puppet://file_server/path/passwd.db", backup => main; } } Just make sure your file server is configured correctly and the passwd/ group db files work, and you should be set to go. What that file type above will do, since I defined the file bucket and the backup, is it will backup the OLD /var/lib/misc/passwd.db to the puppetmaster server under the "filebucket/md5hash" directory. Make sense? -Jason> Thanks! > > -- > +-Geoff Crompton > +--Debian System Administrator > +---Trinity College > > > > >--~--~---------~--~----~------------~-------~--~----~ 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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Geoff Crompton wrote:> Hi, > > While at LCA this year I was talking to James Turnbull, and I think he > said it was possible to > a) pull files off a puppet client to the puppet master > b) push those files out to other puppet clients >Not file buckets - Exported Resources. Have a look at: http://reductivelabs.com/trac/puppet/wiki/ExportedResources Regards James Turnbull - -- Author of: * Pulling Strings with Puppet (http://www.amazon.com/gp/product/1590599780/) * Pro Nagios 2.0 (http://www.amazon.com/gp/product/1590596099/) * Hardening Linux (http://www.amazon.com/gp/product/1590594444/) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJkofI9hTGvAxC30ARAkl5AJ9Z7Hvlo5d7/T+ak09X/dz1sp2bbACeNMF/ AF/rjSgs6ExLYbgLX2rWFF8=U4i5 -----END PGP SIGNATURE----- --~--~---------~--~----~------------~-------~--~----~ 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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---