solar/resources/apache_puppet/test.py
2015-09-15 09:56:20 +02:00

12 lines
185 B
Python

import requests
from solar.core.log import log
def test(resource):
log.debug('Testing apache_puppet')
requests.get(
'http://%s:%s' % (resource.args['ip'], 80)
)