aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-07-19 18:15:57 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-07-19 18:15:57 -0300
commit6a08a6c40532f36d80bf134becab34ca75c770d1 (patch)
tree4b5cdc65e10074dc4507b8ac69627a152c633363
parent2738ecb53792b9fbd5c490a434d04eb766ca9cfc (diff)
downloadpuppet-nodo-6a08a6c40532f36d80bf134becab34ca75c770d1.tar.gz
puppet-nodo-6a08a6c40532f36d80bf134becab34ca75c770d1.tar.bz2
Accepting custom fstab for vserver nodes
-rw-r--r--manifests/vserver.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/vserver.pp b/manifests/vserver.pp
index d27b4f4..e8f159b 100644
--- a/manifests/vserver.pp
+++ b/manifests/vserver.pp
@@ -65,7 +65,8 @@ class nodo::vserver inherits nodo {
# Some nodes need a lot of space at /tmp otherwise some admin
# tasks like backups might not run.
file { "/etc/vservers/${name}/fstab":
- source => "puppet://$server/modules/nodo/etc/fstab/vserver",
+ source => [ "puppet://$server/files/etc/fstab/vserver/$name",
+ "puppet://$server/modules/nodo/etc/fstab/vserver", ]
owner => "root",
group => "root",
mode => 0644,