def raw_incron(user):
 if (__grains__['os_family'] == 'Solaris'):
  cmd = 'incrontab -l {0}'.format(user)
 else:
  cmd = 'incrontab -l -u {0}'.format(user)
 return __salt__['cmd.run_stdout'](cmd, rstrip=False, runas=user, python_shell=False)

def raw_incron ( user ) : if ( __grains__ [ 'os_family' ] == 'Solaris' ) : cmd = 'incrontab -l {0}' . format ( user ) else : cmd = 'incrontab -l -u {0}' . format ( user ) return __salt__ [ 'cmd.run_stdout' ] ( cmd , rstrip = False , runas = user , python_shell = False )
return the contents of the users incrontab cli example: .