Drupal 10, the latest version of the open-source digital experience platform with even more features, is here.Better then duplicating a static string ... e.g boa uses a different path.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | make_var_aegir_variable-2909095-2.patch | 2.31 KB | helmo |











Comments
Comment #2
helmo CreditAttribution: helmo at Initfour websolutions for Aegir Cooperative commentedComment #3
Jon PughWe should stay in the active context, shouldn't we? d() is hostmaster because it is a post-task hook. Who knows what aegir_root might be set to in other sites. I think it's more reliable to just use d().
I'm also wondering where that gets set from originally...
Comment #4
Jon PughAwesome... if you push a branch with the issue ID in front, it automatically shows up over there ------>
@helmo please commit and push to branch
2909095-var-aegir-variablefor review.Comment #6
helmo CreditAttribution: helmo at Initfour websolutions for Aegir Cooperative commentedWell, we could change it to
$ssh_config_dir = d()->server->aegir_root . '/.ssh/';But what about slave servers? This is run in hostmaster site context. So the example above would always work on the server where hostmaster is, even though it could be another server node being verified.