Forge Home

zfs_freebsd

zfs tools for FreeBSD

5,362 downloads

5,229 latest version

4.5 quality score

Version information

  • 0.1.2 (latest)
  • 0.1.1
  • 0.1.0
released Oct 12th 2017
This version is compatible with:

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'hackerhorse-zfs_freebsd', '0.1.2'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add hackerhorse-zfs_freebsd
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install hackerhorse-zfs_freebsd --version 0.1.2

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

hackerhorse/zfs_freebsd — version 0.1.2 Oct 12th 2017

zfs_freebsd

Table of Contents

  1. Description
  2. Setup - The basics
  3. Usage
  4. Limitations - OS compatibility, etc.
  5. Development - Guide for contributing to the module
  6. Contributors - whodunnit?
  7. Changelog

Description

zfs_freebsd is a basic module to allow for the creation/destruction of ZFS datasets. In the future, this module will support more functions, such as the creation of ZFS Volumes.

The original work on this module was done by @snonux on github. Further work is continued on a fork by @RainbowHackerHorse (That's me!)

Setup

Setup Requirements

You need to be running ZFS on a FreeBSD system. No other requirements are in place.

Usage

To start, simply download the module, and add something like:

zfs_freebsd::create { 'zroot/foobar': ensure => present, filesystem => '/foobar', }

Use ensure => absent to destroy the dataset.

Limitations

This module is currently only available for use on FreeBSD, and only manages datasets currently. Future development will be implementing other ZFS features.

Development

You can contribute by forking https://github.com/RainbowHackerHorse/zfs_freebsd and opening a PR.

Contributors

  • Snonux - Original author prior to fork
  • Rainbow (RainbowHackerHorse)

Changelog

  • 0.1.0 - Initial release
  • 0.1.1 - Remove Scrub