aboutsummaryrefslogtreecommitdiffstats
path: root/fuel-plugin-vsperf/deployment_scripts/puppet/manifests/vsperf-install.pp
blob: 7d075add1ac19ad9d81cb0f665c83b9e8c26f73e (plain)
1
2
3
4
5
6
7
$fuel_settings = parseyaml(file('/etc/astute.yaml'))
$master_ip = $::fuel_settings['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";
}