summaryrefslogtreecommitdiffstats
path: root/fuel-plugin-vsperf/deployment_scripts/puppet/manifests/vsperf-install.pp
blob: 43787c7b8d27bb29d7ef099e9073fb46758389d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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",
    path   => "/usr/bin:/usr/sbin:/bin:/sbin";
}