def on(device):
 cmd = 'quotaon {0}'.format(device)
 __salt__['cmd.run'](cmd, python_shell=False)
 return True

def on ( device ) : cmd = 'quotaon {0}' . format ( device ) __salt__ [ 'cmd.run' ] ( cmd , python_shell = False ) return True
sets the decorated method to handle indicated event:: @plugin class hosts : def init: self .