-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
28 lines (24 loc) · 823 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# -*- mode: makefile-gmake; -*-
# MUST HAVE
# apt-get install git-core make
#
# Run
#####################################################
# git clone https://github.com/Drewzar/chef.drewzar.git
# cd chef.drewzar
# make -f README install
#####################################################
# Installers
install: chef
chef: opscode-repo
@echo "=> Installing chef"
sudo apt-get install chef -y
@echo "=> Stopping chef-client service"
sudo service chef-client stop
@echo "=> Disabling the chef-client service"
sudo update-rc.d chef-client disable
opscode-repo:
@echo "=>Adding the opscode repo"
echo "deb http://apt.opscode.com/ `lsb_release -cs`-0.10 main" | sudo tee /etc/apt/sources.list.d/opscode.list
wget -qO - http://apt.opscode.com/[email protected] | sudo apt-key add -
sudo apt-get update