From 50cefd6aab276f2b7b886510ef1f57902394a715 Mon Sep 17 00:00:00 2001 From: Armon Dadgar Date: Tue, 22 Sep 2015 22:48:39 -0700 Subject: [PATCH] demo/vagrant: Adding files for getting started --- demo/vagrant/README.md | 24 ++++++++++++++++++++++ demo/vagrant/Vagrantfile | 43 ++++++++++++++++++++++++++++++++++++++++ demo/vagrant/client1.hcl | 20 +++++++++++++++++++ demo/vagrant/client2.hcl | 25 +++++++++++++++++++++++ demo/vagrant/server.hcl | 13 ++++++++++++ 5 files changed, 125 insertions(+) create mode 100644 demo/vagrant/README.md create mode 100644 demo/vagrant/Vagrantfile create mode 100644 demo/vagrant/client1.hcl create mode 100644 demo/vagrant/client2.hcl create mode 100644 demo/vagrant/server.hcl diff --git a/demo/vagrant/README.md b/demo/vagrant/README.md new file mode 100644 index 000000000..2150799a4 --- /dev/null +++ b/demo/vagrant/README.md @@ -0,0 +1,24 @@ +# Vagrant Nomad Demo + +This Vagrantfile and associated Nomad configuration files are meant +to be used along with the +[getting started guide](https://nomadproject.io/intro/getting-started/install.html). + +Follow along with the guide, or just start the Vagrant box with: + + $ vagrant up + +Once it is finished, you should be able to SSH in and interact with Nomad: + + $ vagrant ssh + ... + $ nomad + usage: nomad [--version] [--help] [] + + Available commands are: + agent Runs a Nomad agent + agent-info Display status information about the local agent + ... + +To learn more about starting Nomad see the [official site](https://nomadproject.io). + diff --git a/demo/vagrant/Vagrantfile b/demo/vagrant/Vagrantfile new file mode 100644 index 000000000..960fdef57 --- /dev/null +++ b/demo/vagrant/Vagrantfile @@ -0,0 +1,43 @@ +# -*- mode: ruby -*- +# vi: set ft=ruby : + +$script = <