aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/subsystems')
-rw-r--r--manifests/subsystems/schroot.pp11
1 files changed, 10 insertions, 1 deletions
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,