summaryrefslogtreecommitdiffstats
path: root/fuel-plugin-vsperf/deployment_scripts/puppet
diff options
context:
space:
mode:
authorMaryam Tahhan <maryam.tahhan@intel.com>2016-05-25 14:50:20 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-05-25 14:50:20 +0000
commit5e3b6ae0427963520357453728411327ac8efafe (patch)
tree78bd0b78bc32566b0dbcc5ad8520740d0bc07caa /fuel-plugin-vsperf/deployment_scripts/puppet
parent2e259679732ed4e0464992b4cae04a4cf4d88000 (diff)
parent5df5198c8b178debaf0e7190a42fa6cc2851b633 (diff)
Merge "Rebase to fuel 9.0 and add vagrant based build and enhance some scripts"
Diffstat (limited to 'fuel-plugin-vsperf/deployment_scripts/puppet')
-rw-r--r--fuel-plugin-vsperf/deployment_scripts/puppet/manifests/vsperf-install.pp10
1 files changed, 3 insertions, 7 deletions
diff --git a/fuel-plugin-vsperf/deployment_scripts/puppet/manifests/vsperf-install.pp b/fuel-plugin-vsperf/deployment_scripts/puppet/manifests/vsperf-install.pp
index bd38dbb7..7d075add 100644
--- a/fuel-plugin-vsperf/deployment_scripts/puppet/manifests/vsperf-install.pp
+++ b/fuel-plugin-vsperf/deployment_scripts/puppet/manifests/vsperf-install.pp
@@ -1,11 +1,7 @@
$fuel_settings = parseyaml(file('/etc/astute.yaml'))
$master_ip = $::fuel_settings['master_ip']
-exec { "wget vsperf":
- command => "wget http://$master_ip:8080/plugins/fuel-plugin-vsperf-1.0/repositories/ubuntu/vswitchperf.tgz -O /opt/vswitchperf.tgz",
- path => "/usr/bin:/usr/sbin:/bin:/sbin",
-}
-exec { "untar vsperf":
- command => "tar xf /opt/vswitchperf.tgz -C /opt",
- path => "/usr/bin:/usr/sbin:/bin:/sbin",
+exec { "install vsperf":
+ command => "mkdir -p /opt/vswitchperf; curl http://$master_ip:8080/plugins/fuel-plugin-vsperf-1.0/repositories/ubuntu/vswitchperf.tgz | tar xzv -C /opt/vswitchperf",
+ path => "/usr/bin:/usr/sbin:/bin:/sbin";
}