aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/vserver.pp4
1 files changed, 3 insertions, 1 deletions
diff --git a/manifests/vserver.pp b/manifests/vserver.pp
index 6955ab9..d0269a9 100644
--- a/manifests/vserver.pp
+++ b/manifests/vserver.pp
@@ -149,7 +149,9 @@ define vs_create($in_domain, $context, $legacy = false, $distro = 'etch',
creates => "/etc/vservers/${vs_name}",
require => File["/usr/local/bin/build_vserver","/etc/vservers/.defaults/vdirbase"],
alias => "vs_create_${vs_name}",
- timeout => "-1",
+ # TODO: change when this is fixed: http://projects.puppetlabs.com/issues/4769
+ timeout => $lsbdistcodename ? { "squeeze" => '999999999999999999999999999999',
+ default => '-1', },
}
}
}