~canonical-ci-engineering/charms/trusty/snappy-proposed-image-tester/trunk

« back to all changes in this revision

Viewing changes to hooks/actions.py

  • Committer: Ubuntu CI Bot
  • Author(s): Francis Ginther
  • Date: 2015-04-28 03:41:06 UTC
  • mfrom: (5.1.1 remove-uci-nova)
  • Revision ID: ubuntu_ci_bot-20150428034106-seqxc94po15uc0nc
Remove installation of separate uci-nova ssh setup script. [r=Paul Larson]

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
        archive.extract_tarfile(tarball, os.path.dirname(_service_dir()))
48
48
 
49
49
 
50
 
def install_adt_uci_nova(service_name):
51
 
    hookenv.log('Attempting to install "uci-nova" autopkgtest ssh-setup ...')
52
 
    uci_nova_path = os.path.join(hookenv.charm_dir(), 'files', 'uci-nova')
53
 
    if not os.path.exists(uci_nova_path):
54
 
        hookenv.log('"uci-nova" not provided, nothing installed!')
55
 
        return
56
 
    shutil.copy2(uci_nova_path, '/usr/share/autopkgtest/ssh-setup/')
57
 
 
58
 
 
59
50
def update_config_file(service_name):
60
51
    hookenv.log(
61
52
        'Updating service configuration file: %s', SERVICE_CONFIGNAME)