def list_jails():
 _check_config_exists()
 cmd = 'poudriere jails -l'
 res = __salt__['cmd.run'](cmd)
 return res.splitlines()

def list_jails ( ) : _check_config_exists ( ) cmd = 'poudriere jails -l' res = __salt__ [ 'cmd.run' ] ( cmd ) return res . splitlines ( )
return a list of current jails managed by poudriere cli example: .