summaryrefslogtreecommitdiff
path: root/manifests/instance.pp
blob: 289e0604c498f81af0c6de56944fb53f75f54dc9 (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'),
  }
}