From 6240670895aa3f265b842b2d1feb9df63f15c0fa Mon Sep 17 00:00:00 2001 From: Przemyslaw Kaminski Date: Thu, 9 Jul 2015 12:41:40 +0200 Subject: [PATCH] Keystone_puppet test added --- resources/keystone_puppet/test.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 resources/keystone_puppet/test.py diff --git a/resources/keystone_puppet/test.py b/resources/keystone_puppet/test.py new file mode 100644 index 00000000..c94af0ad --- /dev/null +++ b/resources/keystone_puppet/test.py @@ -0,0 +1,8 @@ +import requests + + +def test(resource): + print 'Testing keystone_puppet' + requests.get( + 'http://%s:%s' % (resource.args['ip'].value, resource.args['port'].value) + )