Cookbook didn't show in AWS Opswork chef server


#1

I have successfully create Chef Automate server in AWS EC2. I uploaded very simple “learn_chef_iis” cookbook successfully thru my workstation power shell, but from AWS Chef Automate server web browser console, I didn’t see “Cookbooks Uploaded field shows 1”.
Below is my command line validate and action performed, would you please help?

PS C:\chef\starter_kit\my-aws-chef-auto-00097\cookbooks>
PS C:\chef\starter_kit\my-aws-chef-auto-00097\cookbooks> git clone https://github.com/learn-chef/learn_chef_iis.git
Cloning into ‘learn_chef_iis’…
remote: Counting objects: 78, done.
remote: Compressing objects: 100% (35/35), done.
remote: Total 78 (delta 20), reused 78 (delta 20), pack-reused 0
Unpacking objects: 100% (78/78), done.
PS C:\chef\starter_kit\my-aws-chef-auto-00097\cookbooks> ls

Directory: C:\chef\starter_kit\my-aws-chef-auto-00097\cookbooks

Mode LastWriteTime Length Name


d----- 7/28/2017 12:08 PM learn_chef_iis
------ 7/20/2017 6:38 PM 3064 README.md

PS C:\chef\starter_kit\my-aws-chef-auto-00097\cookbooks> knife cookbook upload learn_chef_iis
Uploading learn_chef_iis [0.1.0]
Uploaded 1 cookbook.

PS C:\chef\starter_kit\my-aws-chef-auto-00097\cookbooks> knife cookbook list
apache2 5.0.0
chef-client 8.1.7
compat_resource 12.19.0
cron 4.1.3
learn_chef_iis 0.1.0
logrotate 2.2.0
ohai 5.1.0
windows 3.1.1

PS C:\chef\starter_kit\my-aws-chef-auto-00097\cookbooks> knife ssl check
Connecting to host my-aws-chef-auto-00097.us-east-1.opsworks-cm.io:443
Successfully verified certificates from `my-aws-chef-auto-00097.us-east-1.opsworks-cm.io

PS C:\chef\starter_kit\my-aws-chef-auto-00097\cookbooks> knife cookbook list
apache2 5.0.0
chef-client 8.1.7
compat_resource 12.19.0
cron 4.1.3
learn_chef_iis 0.1.0
logrotate 2.2.0
ohai 5.1.0
windows 3.1.1
PS C:\chef\starter_kit\my-aws-chef-auto-00097\cookbooks> knife cookbook listknife cookbook list


#2

Did you upload the cookbook[s] for the same organization?