aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2008-05-24 03:30:58 +0000
committerMicah Anderson <micah@riseup.net>2008-05-24 03:30:58 +0000
commiteef508bf387dd8880a223615aa7010300e75f72e (patch)
treefef3b41f3bee693f492f69a439e68b1886a30eea /manifests
parentfc9b067c326b1acf40a37885639bb0a5f0641ddb (diff)
downloadpuppet-virtual-eef508bf387dd8880a223615aa7010300e75f72e.tar.gz
puppet-virtual-eef508bf387dd8880a223615aa7010300e75f72e.tar.bz2
The variable must be referenced for it to be useful
Diffstat (limited to 'manifests')
-rw-r--r--manifests/vserver.pp2
1 files changed, 1 insertions, 1 deletions
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}"
}