Merge pull request #28109 from rallytime/fix-27940

Add created reactor event to lxc cloud driver
This commit is contained in:
Joseph Hall 2015-10-19 14:32:41 -06:00
commit a569ef4980

View file

@ -456,6 +456,18 @@ def create(vm_, call=None):
__opts__['internal_lxc_profile'] = __opts__['profile']
del __opts__['profile']
salt.utils.cloud.fire_event(
'event',
'created instance',
'salt/cloud/{0}/created'.format(vm_['name']),
{
'name': vm_['name'],
'profile': vm_['profile'],
'provider': vm_['driver'],
},
transport=__opts__['transport']
)
return ret