#NEWLINE# def _check_cron_env( user , name , value = None ) : #NEWLINE# #INDENT# '\n    Return the environment changes\n    ' #NEWLINE# if ( value is None ) : #NEWLINE# #INDENT# value = '' #NEWLINE# #UNINDENT# lst = __salt__ [ 'cron.list_tab' ] ( user ) #NEWLINE# for env in lst [ 'env' ] : #NEWLINE# #INDENT# if ( value == env [ 'name' ] ) : #NEWLINE# #INDENT# if ( value != env [ 'value' ] ) : #NEWLINE# #INDENT# return 'update' #NEWLINE# #UNINDENT# return 'present' #NEWLINE# #UNINDENT# #UNINDENT# return 'absent'