wiki:ChefDownload

Version 1 (modified by lttoth@…, 8 years ago) (diff)

--

Sample Download of Project Managed by Chef

The following steps were taken to download the most recent version of UA software to that controls People Directory.

$ cd iam-dev/
$ ls
$ mkdir cookbooks
$ cd cookbooks/
$ git clone git@github.alaska.edu:OIT-IAM/iam-app-people.git
* Ensure git is applied to your location before executing the above command.
$ ls -aFC
* Resulting directory listing

./		../		iam-app-people/

$ cd iam-app-people/
$ ls -aFC
* Resulting directory listing

./			Berksfile		chefignore
../			Berksfile.lock		deploy/
.git/			CHANGELOG.md		files/
.gitignore		Gemfile			metadata.rb
.kitchen/		README.md		recipes/
.kitchen.ec2.yml	Thorfile		templates/
.kitchen.yml		Vagrantfile		test/
.travis.yml		attributes/

$ knife
* Ensure ChefDK is installed before executing the above command
* see About Knife
$ kitchen converge
* see Kitchen
$ kitchen converge
$ kitchen verify