From 2a3ff071bd08ff02610286a5ad4ba46690b6bc6b Mon Sep 17 00:00:00 2001 From: Billy O'Mahony Date: Tue, 19 Jan 2016 12:05:46 +0000 Subject: fuel-plugin: Initial version targeting Fuel8 Change-Id: I21b24527da480c713899bffdaec8381752354e53 Signed-off-by: Billy O'Mahony --- fuel-plugin-vsperf/deployment_scripts/deploy.sh | 4 ++++ .../deployment_scripts/puppet/manifests/vsperf-install.pp | 11 +++++++++++ 2 files changed, 15 insertions(+) create mode 100755 fuel-plugin-vsperf/deployment_scripts/deploy.sh create mode 100644 fuel-plugin-vsperf/deployment_scripts/puppet/manifests/vsperf-install.pp (limited to 'fuel-plugin-vsperf/deployment_scripts') diff --git a/fuel-plugin-vsperf/deployment_scripts/deploy.sh b/fuel-plugin-vsperf/deployment_scripts/deploy.sh new file mode 100755 index 00000000..6c82e46d --- /dev/null +++ b/fuel-plugin-vsperf/deployment_scripts/deploy.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +# It's a script which deploys your plugin + 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", +} -- cgit 1.2.3-korg