solar/resources/glance_puppet/test.py
Bogdan Dobrelya 10afefd2e1 Align glance_puppet with cinder_puppet and upstream
Install glance base and API as the base class
does nothing but glance packages install.
Remove registry to be implemented as separate resource.
Update parameters to match upstream ones.

Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
2015-08-03 11:56:16 +02:00

12 lines
296 B
Python

import requests
from solar.core.log import log
def test(resource):
log.debug('Testing glance_puppet')
requests.get(
'http://%s:%s' % (resource.args['ip'].value, resource.args['port'].value)
)
#TODO(bogdando) test packages installed and filesystem store datadir created