Add example settings for unit test, remove invalid private argument.

This commit is contained in:
Chris Church
2015-06-12 00:56:15 -04:00
parent 4607972135
commit 8df9c40435
2 changed files with 7 additions and 1 deletions

View File

@@ -56,7 +56,7 @@ class OpenStackInventory(object):
config_files.insert(0, os.environ['OPENSTACK_CONFIG_FILE'])
config_files.append('/etc/ansible/openstack.yml')
self.openstack_config = os_client_config.config.OpenStackConfig(
config_files, private)
config_files)
self.clouds = shade.openstack_clouds(self.openstack_config)
self.private = private
self.refresh = refresh