[cbjchen,r=hopem]
Install python-lesscpy if using Icehouse release and offline-compression is switched off ('no' or 'False'). Closes-Bug: 1311379
This commit is contained in:
commit
543bc58f64
2
Makefile
2
Makefile
|
@ -5,7 +5,7 @@ lint:
|
||||||
@flake8 --exclude hooks/charmhelpers hooks unit_tests
|
@flake8 --exclude hooks/charmhelpers hooks unit_tests
|
||||||
@charm proof
|
@charm proof
|
||||||
|
|
||||||
test:
|
unit_test:
|
||||||
@echo Starting tests...
|
@echo Starting tests...
|
||||||
@$(PYTHON) /usr/bin/nosetests --nologcapture unit_tests
|
@$(PYTHON) /usr/bin/nosetests --nologcapture unit_tests
|
||||||
|
|
||||||
|
|
|
@ -75,6 +75,11 @@ def config_changed():
|
||||||
else:
|
else:
|
||||||
localhost = 'localhost'
|
localhost = 'localhost'
|
||||||
|
|
||||||
|
if (os_release('openstack-dashboard') == 'icehouse' and
|
||||||
|
config('offline-compression') in ['no', 'False']):
|
||||||
|
apt_install(filter_installed_packages(['python-lesscpy']),
|
||||||
|
fatal=True)
|
||||||
|
|
||||||
# Ensure default role changes are propagated to keystone
|
# Ensure default role changes are propagated to keystone
|
||||||
for relid in relation_ids('identity-service'):
|
for relid in relation_ids('identity-service'):
|
||||||
keystone_joined(relid)
|
keystone_joined(relid)
|
||||||
|
|
Loading…
Reference in New Issue