From 31de67a0f959e7a6bf669d77f71d46ae967b89d5 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Wed, 22 Sep 2010 12:52:50 -0400 Subject: [PATCH] allow for different my.cnf files according to the OS release --- manifests/server/base.pp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/manifests/server/base.pp b/manifests/server/base.pp index 28f6e65..43ce158 100644 --- a/manifests/server/base.pp +++ b/manifests/server/base.pp @@ -6,7 +6,10 @@ class mysql::server::base { path => '/etc/mysql/my.cnf', source => [ "puppet://$server/modules/site-mysql/${fqdn}/my.cnf", + "puppet://$server/modules/site-mysql/my.cnf.${operatingsystem}.{lsbdistcodename}", + "puppet://$server/modules/site-mysql/my.cnf.${operatingsystem}", "puppet://$server/modules/site-mysql/my.cnf", + "puppet://$server/modules/mysql/config/my.cnf.${operatingsystem}.{lsbdistcodename}", "puppet://$server/modules/mysql/config/my.cnf.${operatingsystem}", "puppet://$server/modules/mysql/config/my.cnf" ],