~maas-committers/maas/1.2

« back to all changes in this revision

Viewing changes to src/provisioningserver/tasks.py

[r=julian-edwards][bug=][author=julian-edwards] Start_cluster_controller now sets the environment variable MAAS_URL to be the configured URL to the region controller, which is picked up inside refresh secrets and used to override the value passed from the region (backport trunk r1375)

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
    )
38
38
from provisioningserver.auth import (
39
39
    record_api_credentials,
40
 
    record_maas_url,
41
40
    record_nodegroup_uuid,
42
41
    )
43
42
from provisioningserver.dhcp import config
57
56
# For each item passed to refresh_secrets, a refresh function to give it to.
58
57
refresh_functions = {
59
58
    'api_credentials': record_api_credentials,
60
 
    'maas_url': record_maas_url,
61
59
    'nodegroup_uuid': record_nodegroup_uuid,
62
60
}
63
61