~openstack-charmers/charms/precise/heat/old-1410

« back to all changes in this revision

Viewing changes to hooks/charmhelpers/contrib/openstack/utils.py

  • Committer: yolanda.robla at canonical
  • Date: 2013-11-29 10:22:35 UTC
  • Revision ID: yolanda.robla@canonical.com-20131129102235-3dwqlrj7seygyatr
changesĀ inĀ tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
210
210
 
211
211
 
212
212
def configure_installation_source(rel):
213
 
    juju_log("in configure %s" % rel)
214
213
    '''Configure apt installation source.'''
215
214
    if rel == 'distro':
216
215
        return
220
219
            f.write(DISTRO_PROPOSED % ubuntu_rel)
221
220
    elif rel[:4] == "ppa:":
222
221
        src = rel
223
 
        juju_log("add apt %s" % src)
224
222
        subprocess.check_call(["add-apt-repository", "-y", src])
225
223
    elif rel[:3] == "deb":
226
224
        l = len(rel.split('|'))