def plugin_sync():
 ret = __salt__['cmd.run']('puppet plugin download')
 if (not ret):
  return ''
 return ret

def plugin_sync ( ) : ret = __salt__ [ 'cmd.run' ] ( 'puppet plugin download' ) if ( not ret ) : return '' return ret
runs a plugin synch between the puppet master and agent cli example: .