def _guess_node_id(node):
 if (node is None):
  return __salt__['grains.get']('id')
 return node

def _guess_node_id ( node ) : if ( node is None ) : return __salt__ [ 'grains.get' ] ( 'id' ) return node
try to guess kube node id using salt minion id .