drupal-modules / ads

Drupal distribution for Ads
http://drupal.org/project/ads
2 stars 2 forks source link

Supply a value for datadir, so Puppet would put the module's default value into my.cnf #63

Closed kenorb closed 9 years ago

kenorb commented 10 years ago

We need to specify datadir in Puppet manifest (file: ads.dev.configure-site.pp) as described below:

Puppet imposes its default settings if you don't override the values. You did not supply a value for datadir, for example, so Puppet would put the module's default value into my.cnf. Again - do compare the my.cnf before and after.

See: http://stackoverflow.com/questions/25964936/why-puppet-is-removing-my-database-in-travis-ci-on-mysql-restart?noredirect=1#comment40766988_25964936

Otherwise the CI build fails.

So basically the problem is when we apply this manifest:

sudo puppet apply puppet/ads.dev.configure-site.pp

the travis_ads_test database is gone, see the description in here.