def show_notification(name, text=None, **kwargs):
 if (not text):
  raise SaltInvocationError('Missing required argument text.')
 ret = {'name': name, 'changes': {}, 'result': True, 'comment': text}
 return ret

def show_notification ( name , text = None , ** kwargs ) : if ( not text ) : raise SaltInvocationError ( 'Missing required argument text.' ) ret = { 'name' : name , 'changes' : { } , 'result' : True , 'comment' : text } return ret
simple notification using text argument .