aboutsummaryrefslogtreecommitdiffstats
path: root/fuel-plugin-vsperf/deployment_scripts/puppet
diff options
context:
space:
mode:
authorBilly O'Mahony <billy.o.mahony@intel.com>2016-01-19 12:05:46 +0000
committerBilly O'Mahony <billy.o.mahony@intel.com>2016-01-20 14:37:24 +0000
commit2a3ff071bd08ff02610286a5ad4ba46690b6bc6b (patch)
tree1c0d2b3a7561f0a8aa0ab26d346419b35c56442f /fuel-plugin-vsperf/deployment_scripts/puppet
parent6da6b66a1affe7a79180a49534602a02e7994c7f (diff)
fuel-plugin: Initial version targeting Fuel8
Change-Id: I21b24527da480c713899bffdaec8381752354e53 Signed-off-by: Billy O'Mahony <billy.o.mahony@intel.com>
Diffstat (limited to 'fuel-plugin-vsperf/deployment_scripts/puppet')
-rw-r--r--fuel-plugin-vsperf/deployment_scripts/puppet/manifests/vsperf-install.pp11
1 files changed, 11 insertions, 0 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
new file mode 100644
index 00000000..bd38dbb7
--- /dev/null
+++ b/fuel-plugin-vsperf/deployment_scripts/puppet/manifests/vsperf-install.pp
@@ -0,0 +1,11 @@
+$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",
+}