- Overview
- Module Description - What the module does and why it is useful
- Beginning with jail
- Usage - Configuration options and additional functionality
- Limitations - OS compatibility, etc.
This module creates and manages FreeBSD jails.
This module creates and manages FreeBSD jails. It is possible to create simple jails and use them as seperate systems. The module also allows to generate ezjail style basejails. Basejails are like templates for other jails, that allow to not duplicate the system data.
include jail
A basic jail will download FreeBSD from the FreeBSD FTP servers.
jail::jail {'myjail':
}
jail::jail {'mybase':
}
jail::jail {'jail1:
hostname => "jail1.example.com"
basejail => "mybase"
}
jail::jail {'jail2:
hostname => "jail2.example.com"
basejail => "mybase"
}
At this point only FreeBSD 10 is supported. Older versions of FreeBSD might work, however the installation of puppet within the jail uses the pkg(8) utility.