blob: 5009e56822fa5d1fdf7d2f84b9d3883077668fe9 [file] [log] [blame]
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
services:
- type: test-apt-systemd-brooklyn
name: 1. apt-systemd
location:
byon:
hosts: ["172.28.128.3"]
# privateKeyFile: ~/.ssh/<private key>
user: vagrant
brooklyn.config:
files.preinstall:
~/.m2/repository/org/apache/brooklyn/deb-packaging/0.10.0-SNAPSHOT/deb-packaging-0.10.0-SNAPSHOT.deb: brooklyn-package.deb # BROOKLYN_VERSION
---
services:
- type: test-apt-upstart-brooklyn
name: 2. apt-upstart
location:
byon:
hosts: ["172.28.128.4"]
# privateKeyFile: ~/.ssh/<private key>
user: vagrant
brooklyn.config:
files.preinstall:
~/.m2/repository/org/apache/brooklyn/deb-packaging/0.10.0-SNAPSHOT/deb-packaging-0.10.0-SNAPSHOT.deb: brooklyn-package.deb # BROOKLYN_VERSION
---
services:
- type: test-yum-systemd-brooklyn
name: 3. yum-systemd
location:
byon:
hosts: ["172.28.128.5"]
# privateKeyFile: ~/.ssh/<private key>
user: vagrant
brooklyn.config:
files.preinstall:
~/.m2/repository/org/apache/brooklyn/rpm-packaging/0.10.0-SNAPSHOT/rpm-packaging-0.10.0-SNAPSHOT.rpm: brooklyn-package.rpm # BROOKLYN_VERSION
---
services:
- type: test-yum-upstart-brooklyn
name: 4. yum-upstart
location:
byon:
hosts: ["172.28.128.6"]
# privateKeyFile: ~/.ssh/<private key>
user: vagrant
brooklyn.config:
files.preinstall:
~/.m2/repository/org/apache/brooklyn/rpm-packaging/0.10.0-SNAPSHOT/rpm-packaging-0.10.0-SNAPSHOT.rpm: brooklyn-package.rpm # BROOKLYN_VERSION
---
# Vagrantfile
Vagrant.configure(2) do |config|
config.vm.provider "virtualbox" do |vb|
vb.memory = "1024"
vb.customize ["modifyvm", :id, "--nictype1", "virtio"]
vb.customize ["modifyvm", :id, "--nictype2", "virtio"]
end
config.vm.provision "shell", privileged: false, inline: <<-SHELL
echo "<REPLACE public key fingerprint>" >> ~/.ssh/authorized_keys
SHELL
config.vm.define "apt-systemd" do |config|
config.vm.box = "ubuntu/wily64"
config.vm.network "private_network", ip: "172.28.128.3"
end
config.vm.define "apt-upstart" do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.network "private_network", ip: "172.28.128.4"
end
config.vm.define "yum-systemd" do |config|
config.vm.box = "centos/7"
config.vm.network "private_network", ip: "172.28.128.5"
end
config.vm.define "yum-upstart" do |config|
config.vm.box = "nrel/CentOS-6.5-x86_64"
config.vm.network "private_network", ip: "172.28.128.6"
end
end