~gnuoy/charms/trusty/ceilometer-agent/stable-charm-sync

« back to all changes in this revision

Viewing changes to hooks/ceilometer_utils.py

  • Committer: James Page
  • Date: 2013-10-20 22:28:18 UTC
  • Revision ID: james.page@canonical.com-20131020222818-cyt325a21a0vr5c0
Add unit tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
    # just default to earliest supported release. configs dont get touched
45
45
    # till post-install, anyway.
46
46
    release = get_os_codename_package('ceilometer-common', fatal=False) \
47
 
                or 'grizzly'
 
47
        or 'grizzly'
48
48
    configs = templating.OSConfigRenderer(templates_dir=TEMPLATES,
49
49
                                          openstack_release=release)
50
50