10afefd2e1
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>
12 lines
296 B
Python
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
|