From fc9b067c326b1acf40a37885639bb0a5f0641ddb Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Sat, 24 May 2008 03:22:09 +0000 Subject: default needs to exist otherwise this wont work --- manifests/vserver.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/vserver.pp b/manifests/vserver.pp index b41e628..e57fcbd 100644 --- a/manifests/vserver.pp +++ b/manifests/vserver.pp @@ -20,7 +20,7 @@ class vserver::host { } -define vs_create($in_domain, $legacy = false, $distro = 'etch', $debootstrap_mirror) { +define vs_create($in_domain, $legacy = false, $distro = 'etch', $debootstrap_mirror = 'http://ftp.debian.org/debian') { $vs_name = $legacy ? { true => $name, false => $in_domain ? { '' => $name, default => "${name}.${in_domain}" } } case $vs_name { '': { fail ( "Cannot create VServer with empty name" ) } } -- cgit v1.2.3