Look at the creates => option, I use that to drop an initial /etc/my.cnf, but then it can be modified and not regressed by puppet.
On Mon, Apr 28, 2014 at 3:41 AM, Paul Tötterman <[email protected]>wrote: > For files in user's home directories I would manage the skeleton files >> using puppet and then when the user account is created they'll be copied >> into their home directory. That obviously only works for new users though. >> It won't account for existing users or for updating the file if it hasn't >> been touched by the user yet. >> > > $dir is in home just to make this easily testable using puppet apply. The > files I'm planning to manage are in /etc and users have sudo rights. > > /etc/skel is clearly the right way to handle initial home directory files. > > Cheers, > Paul > > -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/208cbf21-c3e8-45fe-99ee-5b4ab7e598fe%40googlegroups.com<https://groups.google.com/d/msgid/puppet-users/208cbf21-c3e8-45fe-99ee-5b4ab7e598fe%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAEx7SAx1JRyiZozXaj2C%3D_iM_Q1wpHnYDe84-8DkVOZ%3DChkmOw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
