14 | | [[Imange( )]][[br]] |
15 | | == Identifying Chef Cookbooks versus Source Files == |
| 14 | [[Image(AK github context selection.png)]][[br]] |
| 15 | |
| 16 | === Identifying Chef Cookbooks versus Source Files === |
| 17 | A convention has been established for identifying which repositories contain Chef cookbooks, i.e., the configuration for an entire system, or source files to run an application. By convention, anything that is a cookbook follows the naming format of OIT-IAM/iam-<application name>-app. |
| 18 | |
| 19 | For example, the image below shows that the first three listed repositories are Chef cookbooks for the People, Shibboleth v3, and Xpress Connect (XPC) applications. The fourth listing contains source files for the the application, people.alaksa.edu. |
| 20 | |
| 21 | [[Image(AK OIT IAM repositories.png)]][[br]] |
| 22 | |
| 23 | === Contents of Chef Cookbook Repository === |
| 24 | Below is an example of a Chef Cookbook repository. Notice a few of the keywords used to indicate standard Chef directories and files such as, recipes, kitchen.yml, metadata.rb |
| 25 | |
| 26 | [[Image(OIT IAM example github cookbook.png)]][[br]] |
| 27 | |
| 28 | === Contents of a Source File Repository === |
| 29 | The source files for people, as opposed to the Chef Cookbook, contain no set pattern, other than what is needed for the application itself. |
| 30 | |
| 31 | [[Image(OIT IAM example github app source.png)]][[br]] |
| 32 | |
| 33 | == Pulling a Repository to a Local Desktop == |
| 34 | |
| 35 | |
| 36 | |
| 37 | |