Chassis / puppet-wp

This module enables the easy use of WP CLI to control your WordPress site through Puppet manifests
https://chassis.github.io/puppet-wp/
GNU Lesser General Public License v3.0
44 stars 39 forks source link

Add ability to generate wp-config.php #2

Closed rmccue closed 5 years ago

rmccue commented 11 years ago

At the moment, a wp-config.php has to be included in the files rather than being able to get generated by the module. This means we have to handle creation of this externally with a template, whereas it should be built into the module.

pmgarman commented 10 years ago

WP CLI can do downloading and configuring of WP, since this is primarily driven by wp-cli stuck with those methods. Would this be better handled using templates though for wp-config? Could potentially give more options that way rather than trying to force options into the "extra-php" parameter.

technicalpickles commented 10 years ago

This doesn't seem to be the case anymore. wp::config can be used to generate a wp-config.php now.

Or, are you talking about creating a resource (ie File['/var/www/wordpress/wp-config.php'] that can be used as a dependency elsewhere?

technicalpickles commented 10 years ago

My bad, wp::config is still in development in https://github.com/rmccue/puppet-wp/pull/7/files