mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Merge pull request #10152 from erchn/develop
break out fields in event fired instead of parsing out of plain text
This commit is contained in:
commit
2a7c10fe5b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user