~openstack-charm-sync/charms/trusty/cinder-backup/stable

« back to all changes in this revision

Viewing changes to hooks/cinder_backup_utils.py

  • Committer: Edward Hope-Morley
  • Date: 2016-01-26 12:23:55 UTC
  • mfrom: (1.1.1 stable.remote)
  • Revision ID: edward.hope-morley@canonical.com-20160126122355-9ko3yaf807xe3w9l
[trivial] sync charmhelpers and add amulet tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
98
98
        with open('/etc/environment', 'a') as out:
99
99
            out.write('CEPH_ARGS="--id %s"\n' % service)
100
100
    with open('/etc/init/cinder-backup.override', 'w') as out:
101
 
            out.write('env CEPH_ARGS="--id %s"\n' % service)
 
101
        out.write('env CEPH_ARGS="--id %s"\n' % service)