Hi, Yes, I know about vcsrepo module and that part is not a problem. It is fairly easy to set it up and pull release from repository.
My problem is following, if I want to manage /etc/mysql/my.cnf and other config files, that means I would need to make repository in / which I am not really happy with. Mercurial that we are using do not support relocating files, so I cannot check out my.cnf from somewhere else and place it to /etc/mysql/. Only thing that comes to mi mind is to check out repo somewhere else and then create a copy of file. Is there any better method ? Best regards, DuĊĦan On Fri, May 24, 2013 at 11:10 AM, Brian Lalor <[email protected]> wrote: > On May 24, 2013, at 4:12 AM, [email protected] wrote: > > I want to manage some configuration files (let's say my.cnf) using Puppet. > I want to keep that file in some version control repository and developers > will have access to it. Once they change it, Puppet should pull it, put it > in place on server and restart service. > > Is there any general guide what is the best practice how to achieve this ? > > > I'm not sure that's really a best practice, but it does come in handy from > time to time. There's a module for that: > vcsrepo<https://forge.puppetlabs.com/puppetlabs/vcsrepo> > . > > -- > Brian Lalor > [email protected] > > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Puppet Users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/puppet-users/e3YJSINkNPc/unsubscribe?hl=en > . > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/puppet-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- 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 post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
