~lutostag/ubuntu/trusty/maas/1.5.2+packagefix

« back to all changes in this revision

Viewing changes to src/maasserver/models/config.py

  • Committer: Package Import Robot
  • Author(s): Andres Rodriguez
  • Date: 2014-03-28 10:43:53 UTC
  • mto: This revision was merged to the branch mainline in revision 57.
  • Revision ID: package-import@ubuntu.com-20140328104353-ekpolg0pm5xnvq2s
Tags: upstream-1.5+bzr2204
ImportĀ upstreamĀ versionĀ 1.5+bzr2204

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright 2012 Canonical Ltd.  This software is licensed under the
 
1
# Copyright 2012-2014 Canonical Ltd.  This software is licensed under the
2
2
# GNU Affero General Public License version 3 (see the file LICENSE).
3
3
 
4
4
"""Configuration items."""
28
28
    )
29
29
from django.db.models.signals import post_save
30
30
from maasserver import DefaultMeta
31
 
from maasserver.enum import (
32
 
    DISTRO_SERIES,
33
 
    NODE_AFTER_COMMISSIONING_ACTION,
34
 
    )
 
31
from maasserver.enum import DISTRO_SERIES
35
32
from maasserver.fields import JSONObjectField
36
33
 
37
34
 
39
36
    return {
40
37
        ## settings default values.
41
38
        # Commissioning section configuration.
42
 
        'after_commissioning': NODE_AFTER_COMMISSIONING_ACTION.DEFAULT,
43
39
        'check_compatibility': False,
44
40
        # Ubuntu section configuration.
45
41
        'fallback_master_archive': False,
56
52
        'http_proxy': None,
57
53
        'upstream_dns': None,
58
54
        'ntp_server': '91.189.94.4',  # ntp.ubuntu.com
 
55
        # RPC configuration.
 
56
        'rpc_region_certificate': None,
59
57
        ## /settings
60
58
        }
61
59