Sigh.

Scenario:

aegir.example.com (master Aegir server with frontend)
aegir-web1.example.com (remote web server)

On aegir master server:

/var/aegir/platforms/platform-{1,2,3}

platform-1 and platform-2 are already set up and are hosted on the master server

Created platform-3 and defined the web server to be aegir-web1.

All three platforms were synced to the remote web-1 server.

Expected behaviour: only platform-3 should be synced to the remote web server.

Comments

Anonymous’s picture

I don't think we want $this->sync($this->server->http_platforms_path); in the verify_server_cmd() of http.drush.inc, or at least, we want to copy the earlier examples like the vhost, where we exclude the child contents (to just ensure the directory is created)

eg:

      provision_file()->create_dir($this->server->http_platforms_path, dt("Platforms"), 0755);
      $this->sync($this->server->http_platforms_path, array(
        'exclude' => $this->server->http_platforms_path . '/*',  // Make sure remote directory is created
      ));
Anonymous’s picture

Status: Active » Fixed

Fixed in git.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit 5eaf1e3 on dev-migrate_aliases, prod-koumbit, dev-ssl-ip-allocation-refactor, dev-1205458-move_sites_out_of_platforms, 7.x-3.x, dev-subdir-multiserver, 6.x-2.x-backports, dev-helmo-3.x by mig5:
    #1009386 - don't sync the entire contents of the platforms dir to a...