This commit is contained in:
2019-05-15 00:40:11 -04:00
parent 945c5a5b48
commit a0406219f2
6 changed files with 185 additions and 0 deletions

6
init.sh Normal file
View File

@@ -0,0 +1,6 @@
wget https://packages.chef.io/files/stable/chefdk/3.9.0/ubuntu/16.04/chefdk_3.9.0-1_amd64.deb -O chefdk.deb
dpkg -i chefdk.deb
mkdir /opt/theta42 -p
rm -rf /opt/theta42/provision-node
git clone https://git.theta42.com/git-hosting/provision-node.git /opt/theta42/provision-node
chef-solo -c /opt/theta42/provision-node/cookbooks/solo.rb -j /opt/theta42/provision-node/cookbooks/hosting.json