On Tue, 2009-04-21 at 10:50 +0200, Simon J Mudd wrote:
> Hi all,
> 
> Puppet is used mainly for managing resources on the servers it manages,
> and as such files and software may be distributed from the puppet master
> to the clients as part of the management or configuration process.
> 
> That's fine.
> 
> The puppet installation where I work has evolved starting from a site
> with no puppet to a site where most of the servers are puppetised with
> the intention being on doing a complete deploy exclusively using puppet.
> 
> However, as not all aspects of all resources on the server are managed
> by puppet there is room for the administators to make mistakes. As such
> we often want to version control configuration information on the server
> which protects against mistakes but also allows us to see when changes
> were made, either automatically (by puppet) or manually.
> 
> If I'm not mistaken it's not possible to use the file resource for
> copying files back to the puppet master.  Is that correct?

Yes it is correct.

> This functionality would be most useful, especially if we combine
> this with some revision control system. If we did something like
> this the files to be returned back to the puppet master (assuming
> they change) would need to be copied back to a location like
> /puppet_master_path/site_and_hostname/host_path/filename. The advantage of
> doing this in puppet is that you don't need to ensure that extra firewall
> holes are opened, and that in principal at least the same file resource
> could be used. It might be necesssary to additionally qualify/authorise
> "back to master" transfers for security reasons.
> 
> A feature like this is much easier to manage than doing this outside of
> puppet. It is also much easier to compare the configuration of a number of
> different "similar" servers if the files are located on the same server,
> especially as the number of managed servers increases.
> 
> So is this possible at the moment in puppet, and if not is it a feature
> that might be interesting to others?  How are others tackling problems
> like this?

I think you should have a look to the filebucket[1]. It might not be
exactly what you are asking for, but it might still help you.

The filebucket is a way to backup files that are changed by puppet to
the master (or locally). There is also an accompanying application
(called filebucket) that can be used to get back the various "bucketed"
files.

[1]: http://reductivelabs.com/trac/puppet/wiki/TypeReference#id356
-- 
Brice Figureau
My Blog: http://www.masterzen.fr/


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to