diff options
author | Micah Anderson <micah@riseup.net> | 2008-05-24 03:30:58 +0000 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2008-05-24 03:30:58 +0000 |
commit | eef508bf387dd8880a223615aa7010300e75f72e (patch) | |
tree | fef3b41f3bee693f492f69a439e68b1886a30eea | |
parent | fc9b067c326b1acf40a37885639bb0a5f0641ddb (diff) | |
download | puppet-virtual-eef508bf387dd8880a223615aa7010300e75f72e.tar.gz puppet-virtual-eef508bf387dd8880a223615aa7010300e75f72e.tar.bz2 |
The variable must be referenced for it to be useful
-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 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}" } |