def create_jail(name, arch, version='9.0-RELEASE'):
 _check_config_exists()
 if is_jail(name):
  return '{0} already exists'.format(name)
 cmd = 'poudriere jails -c -j {0} -v {1} -a {2}'.format(name, version, arch)
 __salt__['cmd.run'](cmd)
 make_pkgng_aware(name)
 if is_jail(name):
  return 'Created jail {0}'.format(name)
 return 'Issue creating jail {0}'.format(name)

def create_jail ( name , arch , version = '9.0-RELEASE' ) : _check_config_exists ( ) if is_jail ( name ) : return '{0} already exists' . format ( name ) cmd = 'poudriere jails -c -j {0} -v {1} -a {2}' . format ( name , version , arch ) __salt__ [ 'cmd.run' ] ( cmd ) make_pkgng_aware ( name ) if is_jail ( name ) : return 'Created jail {0}' . format ( name ) return 'Issue creating jail {0}' . format ( name )
creates a new poudriere jail if one does not exist *note* creating a new jail will take some time the master is not hanging cli example: .