Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Figure out an easy way to push/pull sites to/from remote Aegir servers
Thanks a lot for this project. Did you know about the remote_import project?
Comment | File | Size | Author |
---|---|---|---|
#2 | 0001-Add-mockup-for-hosting_remote_import.patch | 3.35 KB | helmo |
Comments
Comment #1
ergonlogicThanks for the suggestion, I'm exploring this, along with a number of other contrib modules for inclusion by default in Aegir-up.
Comment #2
helmo CreditAttribution: helmo commentedI took a stab at this. Sort of "My first puppet" code, so this does need work.
Too bad there still is not even a dev release for remote_import.
Comment #3
ergonlogicThanks helmo, this is a great start!
I'd done some work on this for Koumbit's AegirVPS service, some of which we should be able to adapt here. The repo can be found here: https://redmine.koumbit.net/projects/aegirvps-clients/repository/revisio...
Now, there were two principal challenges there: Sharing SSH keys, so that the Aegir user can log into the remote aegir server, and a bug in the Provision bit of remote import, wherein the remote context appears to be inherited locally, which screws with aliases and such.
The latter problem was overcome by simply hardcoding the backups directory, which is where the alias lookup was failing. The former is a more general problem, and should probably be split out of a remote import implementation. However, it'll still need to be accounted for somehow.
Comment #4
clemens.tolboomThe patch has tabs in it. It makes me wonder whether there's a code style for puppet formats somewhere?
- The latter lead to http://docs.puppetlabs.com/guides/style_guide.html which looks good.
- The feature request http://projects.puppetlabs.com/issues/8031 hmmm is bad
- https://github.com/cloudsmith/geppetto/ looks good(?) but is another learning curve? It's eclipse based and has a plugin. Look overwhelming cool ;)