diff options
Diffstat (limited to 'manifests/instance.pp')
-rw-r--r-- | manifests/instance.pp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/manifests/instance.pp b/manifests/instance.pp new file mode 100644 index 0000000..289e060 --- /dev/null +++ b/manifests/instance.pp @@ -0,0 +1,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'), + } +} |