diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-04-12 17:12:53 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-04-12 17:12:53 -0300 |
commit | 61229cbadb2e29ebca29ebac0f7495c197f17f95 (patch) | |
tree | ad4d7e7c788ecdf87b44a3aac8d487951ffe67f6 /manifests/instance.pp | |
download | puppet-schroot-61229cbadb2e29ebca29ebac0f7495c197f17f95.tar.gz puppet-schroot-61229cbadb2e29ebca29ebac0f7495c197f17f95.tar.bz2 |
Initial import
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'), + } +} |