Skip to content

Jail defaults does not respect path paramater #2

@zachfi

Description

@zachfi
    class { 'jails':
      defaults             => {
        'interface'        => $default_interface,
        'allow_mount'      => true,
        'exec_start'       => '/bin/sh /etc/rc',
        'exec_stop'        => '/bin/sh /etc/rc.shutdown',
        'exec_clean'       => true,
        'mount_devfs'      => true,
        'mount.zfs'        => true,
        'enforce_statfs'   => 1,
        'path'             => '/jails/$name',
      }
    }

The above jails class does not seem to respect the path option here, which should default to its name. For example, the following line in jail.conf will allow wildcard jail roots.

path = "/jails/$name";

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions