aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2011-03-19 16:11:06 -0300
committerdrebs <drebs@riseup.net>2011-03-19 16:11:06 -0300
commitd6164c21fc1a665bdd4e9532d8dba2e2712cf8ad (patch)
tree21f40da93c232f229ec0da13ccbf7403b507790f /manifests
parent2905dbaef43e2a3da7d122f2e4caefa865ff8baa (diff)
downloadpuppet-nodo-d6164c21fc1a665bdd4e9532d8dba2e2712cf8ad.tar.gz
puppet-nodo-d6164c21fc1a665bdd4e9532d8dba2e2712cf8ad.tar.bz2
possibility to choose vserver distro
Diffstat (limited to 'manifests')
-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,