From 17b4081255eb3a47b87f725a38cc8705efb1b1fc Mon Sep 17 00:00:00 2001 From: Ethan Erchinger Date: Mon, 3 Feb 2014 11:24:28 -0800 Subject: [PATCH] break out fields in event fired instead of parsing out of plain text --- salt/utils/cloud.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/salt/utils/cloud.py b/salt/utils/cloud.py index a0a2700247..cfdbdc9ca6 100644 --- a/salt/utils/cloud.py +++ b/salt/utils/cloud.py @@ -960,6 +960,10 @@ def deploy_script(host, port=22, timeout=900, username='root', 'event', '{0} has been deployed at {1}'.format(name, host), 'salt/cloud/{0}/deploy_script'.format(name), + { + 'name': name, + 'host': host + } ) return True return False