From eef508bf387dd8880a223615aa7010300e75f72e Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Sat, 24 May 2008 03:30:58 +0000 Subject: The variable must be referenced for it to be useful --- manifests/vserver.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'manifests') diff --git a/manifests/vserver.pp b/manifests/vserver.pp index e57fcbd..6c335c2 100644 --- a/manifests/vserver.pp +++ b/manifests/vserver.pp @@ -24,7 +24,7 @@ define vs_create($in_domain, $legacy = false, $distro = 'etch', $debootstrap_mir $vs_name = $legacy ? { true => $name, false => $in_domain ? { '' => $name, default => "${name}.${in_domain}" } } case $vs_name { '': { fail ( "Cannot create VServer with empty name" ) } } - exec { "/usr/sbin/vserver ${vs_name} build -m debootstrap -- -d $distro -m $mirror": + exec { "/usr/sbin/vserver ${vs_name} build -m debootstrap -- -d $distro -m $debootstrap_mirror": creates => "/etc/vservers/${vs_name}", alias => "vs_create_${vs_name}" } -- cgit v1.2.3