aboutsummaryrefslogtreecommitdiffstats
path: root/fuel-plugin-vsperf/deployment_scripts/puppet
diff options
context:
space:
mode:
authorGuo Ruijing <ruijing.guo@intel.com>2016-05-20 10:35:39 +0800
committerGuo Ruijing <ruijing.guo@intel.com>2016-05-20 14:33:48 +0800
commit5df5198c8b178debaf0e7190a42fa6cc2851b633 (patch)
tree05aab8a150e258a02b94c25c092f2656d833f6e8 /fuel-plugin-vsperf/deployment_scripts/puppet
parentcc5df3ec2038249425c8313bdb73add3d1268b09 (diff)
Rebase to fuel 9.0 and add vagrant based build and enhance some scripts
Change-Id: Id3a38d662c330cd388c6509c9d6e90409c1da6e7 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
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";
}