| | 1 | = Sample Download of Project Managed by Chef = |
| | 2 | The following steps were taken to download the most recent version of UA software to that controls [[http://people.alaska.edu|People Directory]]. |
| | 3 | |
| | 4 | $ cd iam-dev/[[br]] |
| | 5 | $ ls[[br]] |
| | 6 | $ mkdir cookbooks[[br]] |
| | 7 | $ cd cookbooks/[[br]] |
| | 8 | $ git clone !git@github.alaska.edu:OIT-IAM/iam-app-people.git[[br]] * ''Ensure git is applied to your location before executing the above command.''[[br]] |
| | 9 | $ ls -aFC [[br]]* ''Resulting directory listing'' |
| | 10 | {{{ |
| | 11 | ./ ../ iam-app-people/ |
| | 12 | }}} |
| | 13 | |
| | 14 | $ cd iam-app-people/[[br]] |
| | 15 | $ ls -aFC[[br]] * ''Resulting directory listing'' |
| | 16 | {{{ |
| | 17 | ./ Berksfile chefignore |
| | 18 | ../ Berksfile.lock deploy/ |
| | 19 | .git/ CHANGELOG.md files/ |
| | 20 | .gitignore Gemfile metadata.rb |
| | 21 | .kitchen/ README.md recipes/ |
| | 22 | .kitchen.ec2.yml Thorfile templates/ |
| | 23 | .kitchen.yml Vagrantfile test/ |
| | 24 | .travis.yml attributes/ |
| | 25 | }}} |
| | 26 | |
| | 27 | $ knife[[br]] * ''Ensure ChefDK is installed before executing the above command''[[br]] |
| | 28 | ''* see'' [[https://docs/chef.io/knife.html|About Knife]] [[br]] |
| | 29 | $ kitchen converge[[br]] |
| | 30 | ''* see'' [[https://docs.chef.io/kitchen.html|Kitchen]][[br]] |
| | 31 | $ kitchen converge[[br]] |
| | 32 | $ kitchen verify[[br]] |