~moon127/charms/trusty/ceilometer/add-execd-preinstall

« back to all changes in this revision

Viewing changes to hooks/ceilometer_contexts.py

  • Committer: James Page
  • Date: 2014-03-28 14:31:31 UTC
  • mfrom: (45.2.8 ssl-everywhere)
  • mto: This revision was merged to the branch mainline in revision 48.
  • Revision ID: james.page@canonical.com-20140328143131-8jnhj1033s63icux
Merge ssl-everywhere

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
 
10
10
from charmhelpers.contrib.openstack.context import (
11
11
    OSContextGenerator,
12
 
    context_complete
 
12
    context_complete,
 
13
    ApacheSSLContext as SSLContext,
13
14
)
14
15
 
15
16
CEILOMETER_DB = 'ceilometer'
72
73
                if context_complete(conf):
73
74
                    return conf
74
75
        return {}
 
76
 
 
77
 
 
78
class ApacheSSLContext(SSLContext):
 
79
 
 
80
    service_namespace = "ceilometer"
 
81
 
 
82
    external_ports = [CEILOMETER_PORT+100]