~hopem/charms/trusty/cinder-backup/amulet

« back to all changes in this revision

Viewing changes to hooks/cinder_backup_utils.py

  • Committer: Edward Hope-Morley
  • Date: 2016-01-24 15:59:59 UTC
  • Revision ID: edward.hope-morley@canonical.com-20160124155959-1c68kw5t5wz9kc62
[hopem,r=]

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)