Fix glance/cinder test.py input names

This commit is contained in:
Przemyslaw Kaminski 2015-08-03 16:19:58 +02:00
parent cd033837ce
commit f33fcf5ebf
3 changed files with 3 additions and 3 deletions

View File

@ -6,5 +6,5 @@ from solar.core.log import log
def test(resource):
log.debug('Testing cinder_api_puppet')
requests.get(
'http://%s:%s' % (resource.args['ip'].value, resource.args['port'].value)
'http://%s:%s' % (resource.args['ip'].value, resource.args['service_port'].value)
)

View File

@ -50,7 +50,7 @@ input:
value: '127.0.0.1'
auth_url:
schema: str
value: 'http://localhost:5000/v2.0'
value: 'http://{{auth_host}}:{{auth_port}}/v2.0'
auth_port:
schema: int
value: 35357

View File

@ -6,5 +6,5 @@ from solar.core.log import log
def test(resource):
log.debug('Testing glance_registry_puppet')
requests.get(
'http://%s:%s' % (resource.args['ip'].value, resource.args['port'].value)
'http://%s:%s' % (resource.args['ip'].value, resource.args['bind_port'].value)
)