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

Convert to network #43

Closed BronsonQuick closed 5 years ago

BronsonQuick commented 6 years ago

This is for #36.

I tried a few ways of trying to fix this in the past and could never get wp core multisite-convert to do what we wanted. However using this code I managed to do the following in using this in this Chassis PR:

After each vagrant provision had completed for those items I also ran a second vagrant provision just to see if anything changed again or failed and it didn't.

When I set up the original single site I also imported the theme unit test data to check to see if the data persisted when I changed to multisite and it did which was great.

Feel free to test it as well and also let me know if there's something I haven't thought about or missed with this.