diff options
Diffstat (limited to 'fuel-plugin-vsperf/deployment_scripts')
-rwxr-xr-x | fuel-plugin-vsperf/deployment_scripts/deploy.sh | 7 | ||||
-rw-r--r-- | fuel-plugin-vsperf/deployment_scripts/puppet/manifests/vsperf-install.pp | 10 |
2 files changed, 15 insertions, 2 deletions
diff --git a/fuel-plugin-vsperf/deployment_scripts/deploy.sh b/fuel-plugin-vsperf/deployment_scripts/deploy.sh index 6c82e46d..084d1e3e 100755 --- a/fuel-plugin-vsperf/deployment_scripts/deploy.sh +++ b/fuel-plugin-vsperf/deployment_scripts/deploy.sh @@ -1,4 +1,11 @@ #!/bin/bash +# Copyright (c) 2016-2017 Intel corporation. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 + # 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 index 7d075add..43787c7b 100644 --- a/fuel-plugin-vsperf/deployment_scripts/puppet/manifests/vsperf-install.pp +++ b/fuel-plugin-vsperf/deployment_scripts/puppet/manifests/vsperf-install.pp @@ -1,5 +1,11 @@ -$fuel_settings = parseyaml(file('/etc/astute.yaml')) -$master_ip = $::fuel_settings['master_ip'] +# Copyright (c) 2016-2017 Intel corporation. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 + +$master_ip = hiera('master_ip') 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", |