23 lines
418 B
Puppet
23 lines
418 B
Puppet
# Class: jail::setup
|
|
#
|
|
# Lay down the global configuration for jail.conf as well as create the needed
|
|
# directories and/or zfs mountpoints.
|
|
#
|
|
class jail::setup () {
|
|
|
|
package { 'py36-iocage':
|
|
ensure => installed,
|
|
}
|
|
|
|
service { 'iocage':
|
|
enable => true,
|
|
}
|
|
|
|
file { '/etc/jail.conf':
|
|
ensure => absent,
|
|
}
|
|
|
|
File['/etc/jail.conf'] ~> Service['iocage']
|
|
Package['py36-iocage'] ~> Service['iocage']
|
|
}
|