summaryrefslogtreecommitdiff
path: root/manifests/instance.pp
blob: 26be3c57af90dd41f488c5310278ffef112bce22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
define schroot::instance(
  $description,
  $directory,
  $users,
  $groups,
  $aliases,
  $ensure        = present,
  $instance_type = 'plain'
) {
  file { "/etc/schroot/chroot.d/${name}":
    ensure  => $ensure,
    owner   => root,
    group   => root,
    mode    => 0644,
    require => Package['schroot'],
    content => template('schroot/schroot.conf.erb'),
  }
}