Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # modules/mysql/manifests/init.pp
- file { "/etc/mysql/my.cnf":
- source => "puppet:///mysql/my.cnf",
- require => Package["mysql-server"],
- notify => Service["mysql"],
- }
- # modules/mysql/templates/my.cnf
- ##############################################################################
- # This file is managed by puppet. Do NOT edit on the server, your changes #
- # will be blown away on the next puppet run. #
- ##############################################################################
- [client]
- user = root
- password = <%= mysqlpasswd %>
Add Comment
Please, Sign In to add comment