HEP-Puppet / puppet-apelpublisher

A Puppet module to set up an Apel Publisher
1 stars 5 forks source link

problems with newer mysql modules #7

Open rwf14f opened 10 years ago

rwf14f commented 10 years ago

Which version of the mysql::server module are you using?

I get a lot of errors when I try it with my version (mysql::server version > 2.0):

rwf14f commented 10 years ago

The SQL syntax errors in database_grant are caused by the single quotes in the title. It works if I use "${mysql_user}@${host}/${mysql_database}". The module adds the single quotes automatically, so it ends up with two single quotes around the user and host.

rwf14f commented 10 years ago

Kashif fixed these problems in the oxford fork, can they be merged ?

kreczko commented 10 years ago

Unfortunately the changes can't be merged automatically. But it is definitely better if we update this. I will probably have some time on Friday to do the manual merge.

rwf14f commented 10 years ago

I had another look at Kashif's changes and I'm not sure if we should merge all of them, e.g. the explicit hiera calls in params.pp shouldn't be in the official module. The critical bits are the mysql changes. I'm going to merge Kashif's fixes into my own fork tomorrow. If you want I can do the pull request from my updated fork..