Resource Type: jail

Defined in:
lib/puppet/type/jail.rb
Providers:
pyiocage
iocage_legacy

Overview

The name of the jail, and only the name

Properties

  • boot

    Either on or off

    Supported values:
    • on
    • off
  • ensure

    Ensure jail present, absent, or template

    Supported values:
    • present
    • absent
    • template
  • hostname

    Hostname of the jail

  • ip4_addr

    Interface|Address

  • ip6_addr

    Interface|Address

  • jail_zfs

    Enable the jail_zfs

    Supported values:
    • on
    • off
  • jail_zfs_dataset

    Set the jail_zfs_data set iocage parameter

  • memoryuse

    Cap the RAM usage of a jail

  • pcpu

    Cap the CPU usage of a jail

  • quota

    Set maximum disk usage for a jail

  • release

    Set jail version

  • rlimits

    Enable|Disable Limits

    Supported values:
    • on
    • off
  • state

    Either running or stopped

    Supported values:
    • up
    • down

Parameters

  • jid

    The jail ID for running jails

  • name (namevar)

    The name of the jail, and only the name

  • pkglist

    A list of packages to be installed in this jail before startup

    Supported values:
    • %r{^}
  • provider

    The specific backend to use for this ‘jail` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.

  • user_data

    Rendered content to pipe to a jailed shell upon creation