aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/vserver.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/vserver.pp b/manifests/vserver.pp
index e9be096..b77871c 100644
--- a/manifests/vserver.pp
+++ b/manifests/vserver.pp
@@ -37,7 +37,7 @@ class nodo::vserver inherits nodo {
define instance($context, $ensure = 'running', $proxy = false,
$puppetmaster = false, $gitd = false, $mail = false,
$icecast = false, $sound = false, $ticket = false,
- $memory_limit = false) {
+ $memory_limit = false, $distro = 'lenny') {
# set instance id
if $context <= 9 {
@@ -60,7 +60,7 @@ class nodo::vserver inherits nodo {
ensure => $ensure,
context => "$context",
mark => 'default',
- distro => 'lenny',
+ distro => $distro,
interface => "eth0:192.168.0.$context/24",
hostname => "$name.$domain",
memory_limit => $memory_limit,