From 841fac76bbf794729e80699c849a751c22cbd208 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 13 Sep 2011 15:59:07 -0300 Subject: Adding fstab for schroot --- manifests/subsystems/schroot.pp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'manifests/subsystems') diff --git a/manifests/subsystems/schroot.pp b/manifests/subsystems/schroot.pp index acc0361..317fe35 100644 --- a/manifests/subsystems/schroot.pp +++ b/manifests/subsystems/schroot.pp @@ -3,8 +3,17 @@ class schroot { ensure => installed, } + file { '/etc/schroot/default/fstab': + ensure => $ensure, + owner => root, + mode => 0644, + require => Package['schroot'], + source => [ "puppet:///modules/site-nodo/etc/schroot/default/$fqdn/fstab", + "puppet:///modules/nodo/etc/schroot/default/fstab" ] + } + define instance($type = 'plain', description, $directory, $users, $groups, $aliases, $ensure = 'present') { - file { '/etc/schroot/schroot/chroot.d': + file { '/etc/schroot/chroot.d': ensure => $ensure, owner => root, mode => 0644, -- cgit v1.2.3