Changes between Initial Version and Version 1 of ChefUpload


Ignore:
Timestamp:
10/26/16 15:14:44 (8 years ago)
Author:
lttoth@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ChefUpload

    v1 v1  
     1= Sample Chef Upload of Changes Made to a Project Managed by Chef = 
     2 
     3 
     4== Sample Upload to Chef to Manage a Product Upgrade == 
     5The following steps were taken to download and then install a new version of XpressConnect Wizard onto the https://connect.alaska.edu server.  While this Cloudpath product is not likely to be the choice going forward for wireless entrollment, the steps involved are no different than they would be for any Chef managed service. 
     6 
     7 
     8  
     9  $ find . -name cookbooks[[br]] 
     10  $ mv people-chef/ cookbooks[[br]] 
     11  $ mdfind cookbooks[[br]] 
     12  $ cd cookbooks/[[br]] 
     13  $ ls[[br]] 
     14  $ git clone git@github.alaska.edu:OIT-IAM/iam-app-xpc.git[[br]] 
     15  ''* Resulting output'' 
     16{{{ 
     17remote: Counting objects: 173, done. 
     18remote: Compressing objects: 100% (26/26), done. 
     19remote: Total 173 (delta 10), reused 0 (delta 0), pack-reused 140 
     20Receiving objects: 100% (173/173), 33.73 KiB | 0 bytes/s, done. 
     21Resolving deltas: 100% (54/54), done. 
     22Checking connectivity... done. 
     23}}} 
     24  $   ls[[br]] 
     25  $ cd iam-app-xpc/[[br]] 
     26  $ ls[[br]] 
     27  $ cd attributes/[[br]] 
     28  $ ls[[br]] 
     29  $ vi default.rb [[br]] 
     30  $ git diff[[br]] 
     31  $ cd ../[[br]] 
     32  $ ls[[br]] 
     33  $ vi metadata.rb [[br]] 
     34  $ vi CHANGELOG.md [[br]] 
     35  $ kitchen test[[br]] 
     36  $ git co -b xpcupdate[[br]] 
     37  $ git checkout -b xpcupdate[[br]] 
     38  $ git status[[br]] 
     39  $ git add .[[br]] 
     40  $ git status[[br]] 
     41  $ git commit -m "apply latest XpressConnect update"[[br]] 
     42  $ git push -u origin xpcupdate[[br]] 
     43  $ ls[[br]] 
     44  $ ls .git[[br]] 
     45  $ git checkout master[[br]] 
     46  $ git pull [[br]] 
     47  $ du .git[[br]] 
     48  $ git branch[[br]] 
     49  $ ls[[br]] 
     50  $ berks install[[br]] 
     51  $ berks upload[[br]] 
     52  $ berks upload[[br]]