Skip to content

Drewzar/chef.drewzar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# -*- 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/packages@opscode.com.gpg.key | sudo apt-key add -
	sudo apt-get update

About

My server all wrapped up in chef

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages