diff options
author | 2017-03-23 06:19:54 -0700 | |
---|---|---|
committer | 2017-03-23 06:19:54 -0700 | |
commit | 88df88a19674ccc0017836941b8ee32eaadf19fb (patch) | |
tree | f930c90f75846ec8d8e33cf27325ff8fafc85d5c /charms/trusty/contrail-webui/hooks/install | |
parent | 9f50a40437477432a21b326b15c343ca6b8fe516 (diff) |
Deleted charms with wrong license. Will source them differently in future.
Change-Id: I0fc99ea03c6b6ca4701e63793cb2be60e56c7588
Signed-off-by: Stuart Mackie <wsmackie@juniper.net>
Diffstat (limited to 'charms/trusty/contrail-webui/hooks/install')
-rwxr-xr-x | charms/trusty/contrail-webui/hooks/install | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/charms/trusty/contrail-webui/hooks/install b/charms/trusty/contrail-webui/hooks/install deleted file mode 100755 index d981389..0000000 --- a/charms/trusty/contrail-webui/hooks/install +++ /dev/null @@ -1,30 +0,0 @@ -#!/usr/bin/python - -import shutil - -import setup -setup.pre_install() - -from charmhelpers.core import hookenv -from charmhelpers.fetch import ( - configure_sources, - apt_upgrade, - apt_install, -) - -PACKAGES = [ "contrail-web-controller", "nodejs", - "supervisor", "contrail-utils" ] - -def install(): - hookenv.log('Installing contrail-webui') - - # set apt preferences - shutil.copy('files/40contrail', '/etc/apt/preferences.d') - - configure_sources(True, "install-sources", "install-keys") - apt_upgrade(fatal=True, dist=True) - apt_install(PACKAGES, fatal=True) - setup.fix_services() - -if __name__ == "__main__": - install() |