aboutsummaryrefslogtreecommitdiff
path: root/manifests/vserver.pp
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2008-05-24 03:22:09 +0000
committerMicah Anderson <micah@riseup.net>2008-05-24 03:22:09 +0000
commitfc9b067c326b1acf40a37885639bb0a5f0641ddb (patch)
treecb191d41635f07d7dcd4be89ab9a38745619eb7b /manifests/vserver.pp
parent3ac15674384090509a67348f113a715aa95b3a4a (diff)
downloadpuppet-virtual-fc9b067c326b1acf40a37885639bb0a5f0641ddb.tar.gz
puppet-virtual-fc9b067c326b1acf40a37885639bb0a5f0641ddb.tar.bz2
default needs to exist otherwise this wont work
Diffstat (limited to 'manifests/vserver.pp')
-rw-r--r--manifests/vserver.pp2
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" ) } }