aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/schroot.pp
blob: acc0361e0592658355030a49217148b94a1542bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class schroot {
  package { 'schroot':
    ensure => installed,
  }

  define instance($type = 'plain', description, $directory, $users, $groups, $aliases, $ensure = 'present') {
    file { '/etc/schroot/schroot/chroot.d':
      ensure  => $ensure,
      owner   => root,
      mode    => 0644,
      require => Package['schroot'],
      content => template('nodo/schroot/schroot.conf.erb'),
    }
  }
}