Version information
This version is compatible with:
- Puppet Enterprise 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
- Puppet >= 4.0.0 < 5.0.0
Start using this module
Add this module to your Puppetfile:
mod 'hackerhorse-iocell', '4.0.2'
Learn more about managing modules with a PuppetfileDocumentation
FreeBSD Jail management with Puppet, using iocell
Manage FreeBSD jails with Puppet, leveraging iocell for jail management.
Compatibility Warning
This module conflicts with zleslie/jail
Setup
This module expects to be the only jail manager on a given system. Each system where jails will be managed needs to include the jail::setup
class as well.
include jail::setup
This simply installs 'iocell' and removes '/etc/jail.conf'.
This allows the type to use the correct jail without having to specify the pool on each jail.
A simple jail
jail { 'myjail1':
ensure => present,
state => 'up',
ip4_addr => 'em0|127.0.1.0/29',
ip6_addr => 'em0|fc00::10/64',
hostname => 'myjail1.example.com',
boot => 'on',
pcpu => '20'
memoryuse => '4G',
quota => '15G',
release => '11.1-RELEASE'
rlimits => 'on',
user_data => template('mysite/user_data.sh.erb'),
}
Note the ip4_addr
and the ip6_addr
properties take an interface name and an IP address separated by a pipe character. This value is passed directly to iocell(7)
. You may wish to read the man page.
Types in this module release
Unreleased
2018-03-04
Summary
Forked to RainbowHackerHorse/puppet_iocell to strictly support iocell
2016-08-29 3.1.0
Summary
Drop old puppet versions, add tests for existing functionality.
2016-07-27 3.0.0
Summary
Drop legacy code and add new zfs properties.
Features
- Add ZFS properties
- Drop legacy jail provider
2016-05-31 2.1.1
Summary
Changes to testing dependencies.
Testing
- Drop guard from the Gemfile
A feature release.
2016-05-31 2.1.0
Summary
A feature release.
Features
- Add user_data support for first boot script
2016-04-25 2.0.9
Summary
This release adds a changelog.
Features
- Add a changelog
2016-04-22 2.0.8
Summary
This is a bugfix release.
Bugfixes
- Handl the order of the iocage service and package correctly
2016-04-04 2.0.7
Summary
This is a testing release.
Testing
- Update tests to include puppet4
2016-03-08 2.0.6
Summary
This is a bugfix release to avoid starting the iocage service.
Bugfixes
- Only enable the service as there is no daemon
2016-03-08 2.0.5
Summary
This is a feature release to include iocage service management.
Features
- Manage the iocage service
2016-02-21 2.0.4
Summary
This is a bugfix release.
Bugfixes
- Fix regex match more complex hostnames and add test
2015-11-28 2.0.3
Summary
This is a bugfix release to address property handling.
Bugfixes
- Set jail properties upon creation before boot
2015-10-19 2.0.2
Summary
This is a bugfix release.
Bugfixes
- Fix regex to include JIDs that begin with '1' and add test
2015-09-08 2.0.1
Summary
This is a bugfix release.
Bugfixes
- Add regex matching for discovering only iocage created jails
- Fix boot parameter in documentation
2015-08-16 2.0.0
Summary
This is a backwards incompatible release to support a new jail management utility framework called iocage(8).
Features
- Add new provider for iocage with basic tests
- Adjust type parameters to match iocage nomenclature
2015-08-16 1.0.0
Summary
This release is the first major release of the jail module, containing a minimal pattern of creating ZFS based jails using a puppet type and provider.
Features
- Initial type and provider for managing ZFS based jails
Dependencies
- puppetlabs/concat (>= 1.1.0 <= 5.0.0)