Skip to content

Instantly share code, notes, and snippets.

@stahnma
Created July 19, 2010 17:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stahnma/481705 to your computer and use it in GitHub Desktop.
Save stahnma/481705 to your computer and use it in GitHub Desktop.
file{'/etc/mysql/my.cnf':
source => [
"puppet://$server/files/mysql/${fqdn}/my.cnf",
"puppet://$server/files/mysql/my.cnf",
"puppet://$server/mysql/config/my.cnf.${operatingsystem}",
"puppet://$server/mysql/config/my.cnf"
],
ensure => file,
require => Package[mysql-server],
notify => Service[mysql],
owner => root, group => 0, mode => 0644;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment