From 2874e2d69d46aab14ff65cfd2f4028d1a4a76506 Mon Sep 17 00:00:00 2001
From: Jeffrey Phillips Freeman <jeffrey.freeman@syncleus.com>
Date: Sat, 11 Apr 2015 08:58:20 -0400
Subject: [PATCH] got it working on arch linux.

---
 Vagrantfile  | 10 ++++++----
 provision.sh |  2 ++
 2 files changed, 8 insertions(+), 4 deletions(-)
 create mode 100644 provision.sh

diff --git a/Vagrantfile b/Vagrantfile
index 7214085..a1b3fbb 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -3,7 +3,8 @@
 
 Vagrant.configure(2) do |config|
   #config.vm.box = "denis/archlinux64"
-  config.vm.box = "ubuntu/trusty64"
+  #config.vm.box = "ubuntu/trusty64"
+  config.vm.box = "jfredett/arch-chef"
 
   # config.vm.network "forwarded_port", guest: 80, host: 8080
 
@@ -46,7 +47,8 @@ Vagrant.configure(2) do |config|
   #   sudo apt-get install -y apache2
   # SHELL
 
-  config.vm.provision "chef_apply" do |chef|
-    chef.recipe = File.read("hello.rb")
-  end
+#  config.vm.provision "chef_apply" do |chef|
+#    chef.recipe = File.read("hello.rb")
+#  end
+   config.vm.provision "shell", path: "provision.sh"
 end
diff --git a/provision.sh b/provision.sh
new file mode 100644
index 0000000..d76f175
--- /dev/null
+++ b/provision.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+chef-apply /vagrant/hello.rb
-- 
GitLab