diff --git a/hooks/keystone_utils.py b/hooks/keystone_utils.py index 9e317f9e..a608482f 100644 --- a/hooks/keystone_utils.py +++ b/hooks/keystone_utils.py @@ -78,10 +78,10 @@ BASE_PACKAGES = [ 'python-keystoneclient', 'python-mysqldb', 'python-psycopg2', + 'python-six', 'pwgen', 'unison', 'uuid', - 'python-six', ] BASE_SERVICES = [ diff --git a/unit_tests/test_keystone_hooks.py b/unit_tests/test_keystone_hooks.py index 49f75539..9f8f37c4 100644 --- a/unit_tests/test_keystone_hooks.py +++ b/unit_tests/test_keystone_hooks.py @@ -85,7 +85,7 @@ class KeystoneRelationTests(CharmTestCase): self.apt_install.assert_called_with( ['haproxy', 'unison', 'python-keystoneclient', 'uuid', 'python-mysqldb', 'openssl', 'apache2', - 'pwgen', 'keystone', 'python-psycopg2'], fatal=True) + 'pwgen', 'python-six', 'keystone', 'python-psycopg2'], fatal=True) self.assertTrue(self.execd_preinstall.called) mod_ch_openstack_utils = 'charmhelpers.contrib.openstack.utils'