def task_create_flocker_pool_file():
 return sequence([run('mkdir -p /var/opt/flocker'), run('truncate --size 10G /var/opt/flocker/pool-vdev'), run('ZFS_MODULE_LOADING=yes zpool create flocker /var/opt/flocker/pool-vdev')])

def task_create_flocker_pool_file ( ) : return sequence ( [ run ( 'mkdir -p /var/opt/flocker' ) , run ( 'truncate --size 10G /var/opt/flocker/pool-vdev' ) , run ( 'ZFS_MODULE_LOADING=yes zpool create flocker /var/opt/flocker/pool-vdev' ) ] )
create a file-back zfs pool for flocker .