]> gitweb.fluxo.info Git - puppet-virtual.git/commitdiff
default needs to exist otherwise this wont work
authorMicah Anderson <micah@riseup.net>
Sat, 24 May 2008 03:22:09 +0000 (03:22 +0000)
committerMicah Anderson <micah@riseup.net>
Sat, 24 May 2008 03:22:09 +0000 (03:22 +0000)
manifests/vserver.pp

index b41e628d79387d108fe9cc552c5b8160f6745a69..e57fcbd9c8a91b58a2c7853b8fcf4623e065a177 100644 (file)
@@ -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" ) } }