aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-09-13 15:59:07 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-09-13 15:59:07 -0300
commit841fac76bbf794729e80699c849a751c22cbd208 (patch)
treebe73825e133b51e630fb3fe6d9de854890bcf3e0 /manifests
parentcb1785a14eb483d78e81ff8fd9e5ee204002494d (diff)
downloadpuppet-nodo-841fac76bbf794729e80699c849a751c22cbd208.tar.gz
puppet-nodo-841fac76bbf794729e80699c849a751c22cbd208.tar.bz2
Adding fstab for schroot
Diffstat (limited to 'manifests')
-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,