diff options
-rw-r--r-- | manifests/vserver.pp | 2 |
1 files changed, 1 insertions, 1 deletions
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" ) } } |