From 46f655d9d0d7a2c03b3a973de5b0d071aedd50b5 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 13 Sep 2011 16:25:08 -0300 Subject: Minor fixes at schroot::instance --- manifests/subsystems/schroot.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'manifests/subsystems') 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, -- cgit v1.2.3