Created
June 30, 2017 15:19
-
-
Save wickedviking/072e0ddc67c247a9b463ab1bf4681904 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.box = "centos/7" | |
config.vm.provision "shell", | |
inline: <<-SHELL | |
# set SELinux to permissive for provisioning | |
sudo setenforce 0 | |
# yumness | |
yum -y update; yum -y install wget | |
#chef-server | |
cd /tmp | |
wget -O chef-server.rmp https://packages.chef.io/files/stable/chef-server/12.15.8/el/7/chef-server-core-12.15.8-1.el7.x86_64.rpm | |
rpm -Uvh chef-server.rmp | |
chef-server-ctl reconfigure | |
SHELL | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment