Thank you ! Best regards, Christophe
On 19 mar, 23:18, Adam Heinz <a...@metricwise.net> wrote: > puppet 2.6+, derived fromhttps://github.com/camptocamp/puppet-mysql > > $mycnf = $::operatingsystem ? { > /RedHat|Fedora|CentOS/ => "/etc/my.cnf", > default => "/etc/mysql/my.cnf", > } > > augeas { $mycnf: > context => "/files$mycnf", > changes => [ > "set mysqld/key_buffer 250M", > "set mysqld/max_connections 800", > "set mysqld/wait_timeout 180", > ], > require => Package["mysql"], > notify => Service["mysql"], > incl => $mycnf, > lens => "Mysql.lns", > } -- 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.