#NEWLINE# @ target_must_exist #NEWLINE# def vagrant_suspend( args ) : #NEWLINE# #INDENT# 'Suspends the VM through Vagrant, without destroying it.\n    ' #NEWLINE# target = Path ( args . target [ 0 ] ) #NEWLINE# retcode = subprocess . call ( [ 'vagrant' , 'suspend' ] , cwd = target . path ) #NEWLINE# if ( retcode != 0 ) : #NEWLINE# #INDENT# logging . critical ( 'vagrant suspend failed with code %d, ignoring...' , retcode )