aboutsummaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp15
1 files changed, 13 insertions, 2 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index cde0182..aa9f125 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -159,8 +159,6 @@ class nodo::vserver inherits nodo {
$id = $context
}
- # TODO: some nodes need a lot of space at /tmp otherwise some admin
- # tasks like backups might not run.
vserver { $name:
ensure => $ensure,
context => "$context",
@@ -170,6 +168,18 @@ class nodo::vserver inherits nodo {
hostname => "$name.$domain",
}
+ # 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",
+ owner => "root",
+ group => "root",
+ mode => 0644,
+ ensure => present,
+ notify => Exec["vs_restart_${name}"],
+ require => Vserver["$name"];
+ }
+
# Create a munin virtual resource to be realized in the node
#@nodo::vserver::munin {
# type => $munin,
@@ -299,5 +309,6 @@ class nodo::web inherits nodo::vserver {
}
class nodo::proxy inherits nodo::vserver {
+ # TODO: openssl?
include nginx
}