hunner/puppet-wordpress

Installing the database on a separate server

Closed this issue · 1 comments

mc0e commented

The documentation on installing the database on a different server is light. My impression is that it's only intended that this module supports the web machine, not that it also run on the db machine?

I've been looking in class wordpress::db (I realise that's not documented in README.md, so perhaps I should not consider it to be part of the external API?)

wordpress::db is simple enough, so I thought I'd just call it on the db server, but then I realised that the way 'db_host' is used for the mysql_user and mysql_grant resources, it actually refers to the IP of the client system, not the host that the db is on, which surprised me. Also requir'ing wordpress::app clearly means it can't be used on the db host in it's current form.

So, it appears that I'm looking beyond the usage that's been contemplated to date. consider this a feature request.

mc0e commented

Inore this issue submission - see #33 instead. I thought I'd lost my text, but seems it got submitted here. Not sure exactly how that happened.