Guest User

Untitled

a guest
Mar 13th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. # modules/mysql/manifests/init.pp
  2.  
  3. file { "/etc/mysql/my.cnf":
  4. source => "puppet:///mysql/my.cnf",
  5. require => Package["mysql-server"],
  6. notify => Service["mysql"],
  7. }
  8.  
  9.  
  10. # modules/mysql/templates/my.cnf
  11. ##############################################################################
  12. # This file is managed by puppet. Do NOT edit on the server, your changes #
  13. # will be blown away on the next puppet run. #
  14. ##############################################################################
  15.  
  16. [client]
  17. user = root
  18. password = <%= mysqlpasswd %>
Add Comment
Please, Sign In to add comment