isabella232 / boundary-vagrant-plugins

Vagrant environment for testing boundary-plugin-cpu-core

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Boundary Vagrant Environment for Plugin Development

Provides virtual machines to develop and test Boundary meter plugins.

This provides operating system environments:

  • Amazon Linux - Future release
  • Centos 7.1 - Future release
  • Centos 7.0 - Currently an issue with the Boundary Puppet module, needs a fix to the Boundary RPM repository location
  • Centos 6.6
  • Centos 5.11 - Future release
  • Ubuntu 12.04
  • Ubuntu 14.04
  • Windows Server 2008 R2 - Future release
  • Windows Server 2012 R2 - Future release

Prerequisites

  • Vagrant 1.7.2 or later. Vagrant can be downloaded here
  • VirtualBox 4.3.2.6 or later. VirtualBox can be downloaded here

Installation

Getting Started

The Boundary meter is installed on each of the virtual machines via the Boundary Puppet Module. Boundary Meter installation requires that the api token be known at install time. The Boundary API Token can be found in the Settings -> Account dialog in the Boundary user interface.

List of Platforms to Virtual Machine Mapping

The table below provides the mapping of platform to virtual machine name that is used later to start a virtual machine for testing plugins.

Platform Virtual Machine Name Notes
Centos 5.11 centos-5.11
Centos 6.6 centos-6.6
Centos 7.0 centos-7.0
Centos 7.1 centos-7.1
Ubuntu 12.04 ubuntu-12.04
Ubuntu 14.04 ubuntu-14.04
Windows Server 2008 R2 win-serv-2008-r2
Windows Server 2012 R2 win-serv-2012-r2

Starting a Virtual Machine

With the Boundary api token perform the following:

  1. Either checkout or clone the git repository ()[]
  2. Issue the following command, the target platforms are listed in the table below:
$ BOUNDARY_API_TOKEN=<api token> vagrant up <virtual machine name>

Stopping a Virtual Machine

$ vagrant halt <virtual machine name>

Destroying a Virtual Machine

$ vagrant destroy <virtual machine name>

About

Vagrant environment for testing boundary-plugin-cpu-core

License:Apache License 2.0


Languages

Language:Puppet 81.6%Language:Shell 18.4%