Example of Deploying a Meter Using Chef
Example of using Vagrant to stand up a virtual machine and deploying meter using Chef
Prerequisites
- Vagrant version 1.7.4 or later download here
- Virtual Box 4.3.30 or later download here
- Git version 1.7 or later
Installation and Configuration
- Download the contents of the GitHub repository
$ git clone https://github.com/boundary/vagrant-meter-chef ```
- Modify
Vagrantfile
with your api-token with the value from your account.
chef.json = {'boundary_meter' => {'token' => '' } } ```
Starting the Virtual Machine
-
Run the following command:
$ vagrant up --provider virtualbox
Stopping the Virtual Machine
-
Run the following command:
$ vagrant halt ```