On May 24, 2013, at 6:14 AM, Dusan Dordevic <dusan.dorde...@clavistechnology.com> wrote:
> 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. This is the approach that I'm taking. It works very well; have vcsrepo manage the repository, then use a file resource to ensure that a target file is kept in sync with the one checked out from the remote repo. Make the file resource require the vcsrepo resource. Then you can notify MySQL to restart when its config file changes. -- Brian Lalor bla...@bravo5.org -- 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 puppet-users+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.