From: Silvio Rhatto Date: Tue, 13 Sep 2011 19:25:08 +0000 (-0300) Subject: Minor fixes at schroot::instance X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=46f655d9d0d7a2c03b3a973de5b0d071aedd50b5;p=puppet-nodo.git Minor fixes at schroot::instance --- diff --git a/manifests/subsystems/schroot.pp b/manifests/subsystems/schroot.pp index 38a6483..259b1f5 100644 --- a/manifests/subsystems/schroot.pp +++ b/manifests/subsystems/schroot.pp @@ -13,8 +13,8 @@ class schroot { "puppet:///modules/nodo/etc/schroot/default/fstab" ] } - define instance($type = 'plain', description, $directory, $users, $groups, $aliases, $ensure = 'present') { - file { '/etc/schroot/chroot.d': + define instance($type = 'plain', $description, $directory, $users, $groups, $aliases, $ensure = present) { + file { "/etc/schroot/chroot.d/$name": ensure => $ensure, owner => root, group => root,