Chef Session 11
Chef Session 11
Chef Session 11
(data_collector['root_url'] = 'https://chef-automate.sloopstash-dev.internal/data-
collector/v0/'
data_collector['proxy'] = true
profiles['root_url'] = 'https://chef-automate.sloopstash-dev.internal)
Kalaiarasan Kirubanandam8:19 PM
TQ Sathiyaraj
John Sundarraj8:21 PM
For Linux host machine:
sudo chef-server-ctl org-create sloopstash SloopStash -a tuto -f
/secret/sloopstash.pem
Most users interact with the Chef Infra Server using knife or other tooling you can
learn about at Learn Chef.
You can access the server programmatically with the Chef Infra Server API. To learn
how to do this, head over to our API Documentation pages.
Aanchal Mathew8:35 PM
yes
Sathiyaraj Sridhar8:37 PM
@Somasundaram: make sure that you ran below commands.
sudo chef-server-ctl install chef-manage
sudo chef-server-ctl reconfigure
sudo chef-manage-ctl reconfigure
Raghavendran Annamalai8:39 PM
Thanks i can access now
somasundaram selvamuthukumar8:39 PM
@sathiyaraj now its working. Thanks
Azharudeen AshrafAli8:40 PM
what is the username and password to login to chef-infra-server?
Sathiyaraj Sridhar8:42 PM
@Azhar:
username: tuto
password: sloopstashtuto123
Azharudeen AshrafAli8:42 PM
Thanks ji
Sathiyaraj Sridhar8:43 PM
sudo chef-server-ctl set-secret data_collector token '<CHEF_AUTOMATE_API_TOKEN>'
sudo chef-server-ctl restart nginx
sudo chef-server-ctl restart opscode-erchef
Sathiyaraj Sridhar8:44 PM
sudo vim /etc/opscode/chef-server.rb
data_collector['root_url'] = 'https://chef-automate.sloopstash-dev.internal/data-
collector/v0/'
data_collector['proxy'] = true
profiles['root_url'] = 'https://chef-automate.sloopstash-dev.internal'
Sathiyaraj Sridhar8:46 PM
sudo chef-server-ctl reconfigure
Rajesh Rajendran8:46 PM
Chef Infra Client finished, 48/491 resources updated in 22 seconds
Chef Server Reconfigured!
Sathiyaraj Sridhar8:48 PM
Chef Automate -> Settings -> API Tokens -> Create Token
Sathiyaraj Sridhar8:52 PM
@Kavi: We will see end of this session.
@Kavi: Ignore above msg.
Raghavendran Annamalai8:55 PM
@sathiyaraj Ji what is the credential o access chef automate
Sathiyaraj Sridhar8:56 PM
@Raghavendran: Run below command to get credentials.
sudo cat automate-credentials.toml
Rajesh Rajendran8:56 PM
yes
Ananth M.8:56 PM
Yes
Kalaiarasan Kirubanandam8:56 PM
yes
somasundaram selvamuthukumar8:56 PM
s
vamsi krishna8:56 PM
yes, except the last part
ganesh8:57 PM
yes
Raghavendran Annamalai8:57 PM
yes
Arunkumar Nagaraj8:57 PM
Yes
Saju Krishnan8:57 PM
yes done infra
sathyaraj k8:57 PM
Yes
Vijayakumar8:57 PM
yes
vaithiy anathan8:57 PM
Chef infra server --yes
Mani kandan8:57 PM
yes
You8:57 PM
for me both UI not working
Mathivanan8:57 PM
yes
archana sekar8:57 PM
Yes logged into chef manage
Pethu Raj8:58 PM
am facing issue chef automate itself
Sathiyaraj Sridhar9:00 PM
Modify Host file
Terms of Service
https://www.chef.io/terms-of-service
I agree to the Terms of Service and the Master License and Services Agreement
(y/n)
y
Kalaiarasan Kirubanandam8:19 PM
TQ Sathiyaraj
John Sundarraj8:21 PM
For Linux host machine:
sudo chef-server-ctl org-create sloopstash SloopStash -a tuto -f
/secret/sloopstash.pem
Most users interact with the Chef Infra Server using knife or other tooling you can
learn about at Learn Chef.
You can access the server programmatically with the Chef Infra Server API. To learn
how to do this, head over to our API Documentation pages.
Aanchal Mathew8:35 PM
yes
Sathiyaraj Sridhar8:37 PM
@Somasundaram: make sure that you ran below commands.
sudo chef-server-ctl install chef-manage
sudo chef-server-ctl reconfigure
sudo chef-manage-ctl reconfigure
Raghavendran Annamalai8:39 PM
Thanks i can access now
somasundaram selvamuthukumar8:39 PM
@sathiyaraj now its working. Thanks
Azharudeen AshrafAli8:40 PM
what is the username and password to login to chef-infra-server?
Sathiyaraj Sridhar8:42 PM
@Azhar:
username: tuto
password: sloopstashtuto123
Azharudeen AshrafAli8:42 PM
Thanks ji
Sathiyaraj Sridhar8:43 PM
sudo chef-server-ctl set-secret data_collector token '<CHEF_AUTOMATE_API_TOKEN>'
sudo chef-server-ctl restart nginx
sudo chef-server-ctl restart opscode-erchef
Sathiyaraj Sridhar8:44 PM
sudo vim /etc/opscode/chef-server.rb
data_collector['root_url'] = 'https://chef-automate.sloopstash-dev.internal/data-
collector/v0/'
data_collector['proxy'] = true
profiles['root_url'] = 'https://chef-automate.sloopstash-dev.internal'
Sathiyaraj Sridhar8:46 PM
sudo chef-server-ctl reconfigure
Rajesh Rajendran8:46 PM
Chef Infra Client finished, 48/491 resources updated in 22 seconds
Chef Server Reconfigured!
Sathiyaraj Sridhar8:48 PM
Chef Automate -> Settings -> API Tokens -> Create Token
Sathiyaraj Sridhar8:52 PM
@Kavi: We will see end of this session.
@Kavi: Ignore above msg.
Raghavendran Annamalai8:55 PM
@sathiyaraj Ji what is the credential o access chef automate
Sathiyaraj Sridhar8:56 PM
@Raghavendran: Run below command to get credentials.
sudo cat automate-credentials.toml
Rajesh Rajendran8:56 PM
yes
Ananth M.8:56 PM
Yes
Kalaiarasan Kirubanandam8:56 PM
yes
somasundaram selvamuthukumar8:56 PM
s
vamsi krishna8:56 PM
yes, except the last part
ganesh8:57 PM
yes
Raghavendran Annamalai8:57 PM
yes
Arunkumar Nagaraj8:57 PM
Yes
Saju Krishnan8:57 PM
yes done infra
sathyaraj k8:57 PM
Yes
Vijayakumar8:57 PM
yes
vaithiy anathan8:57 PM
Chef infra server --yes
Mani kandan8:57 PM
yes
You8:57 PM
for me both UI not working
Mathivanan8:57 PM
yes
archana sekar8:57 PM
Yes logged into chef manage
Pethu Raj8:58 PM
am facing issue chef automate itself
Sathiyaraj Sridhar9:00 PM
Modify Host file
I agree to the Terms of Service and the Master License and Services Agreement
(y/n)
y
Most users interact with the Chef Infra Server using knife or other tooling you can
learn about at Learn Chef.
You can access the server programmatically with the Chef Infra Server API. To learn
how to do this, head over to our API Documentation pages.
Aanchal Mathew8:35 PM
yes
Sathiyaraj Sridhar8:37 PM
@Somasundaram: make sure that you ran below commands.
sudo chef-server-ctl install chef-manage
sudo chef-server-ctl reconfigure
sudo chef-manage-ctl reconfigure
Raghavendran Annamalai8:39 PM
Thanks i can access now
somasundaram selvamuthukumar8:39 PM
@sathiyaraj now its working. Thanks
Azharudeen AshrafAli8:40 PM
what is the username and password to login to chef-infra-server?
Sathiyaraj Sridhar8:42 PM
@Azhar:
username: tuto
password: sloopstashtuto123
Azharudeen AshrafAli8:42 PM
Thanks ji
Sathiyaraj Sridhar8:43 PM
sudo chef-server-ctl set-secret data_collector token '<CHEF_AUTOMATE_API_TOKEN>'
sudo chef-server-ctl restart nginx
sudo chef-server-ctl restart opscode-erchef
Sathiyaraj Sridhar8:44 PM
sudo vim /etc/opscode/chef-server.rb
data_collector['root_url'] = 'https://chef-automate.sloopstash-dev.internal/data-
collector/v0/'
data_collector['proxy'] = true
profiles['root_url'] = 'https://chef-automate.sloopstash-dev.internal'
Sathiyaraj Sridhar8:46 PM
sudo chef-server-ctl reconfigure
Rajesh Rajendran8:46 PM
Chef Infra Client finished, 48/491 resources updated in 22 seconds
Chef Server Reconfigured!
Sathiyaraj Sridhar8:48 PM
Chef Automate -> Settings -> API Tokens -> Create Token
Sathiyaraj Sridhar8:52 PM
@Kavi: We will see end of this session.
@Kavi: Ignore above msg.
Raghavendran Annamalai8:55 PM
@sathiyaraj Ji what is the credential o access chef automate
Sathiyaraj Sridhar8:56 PM
@Raghavendran: Run below command to get credentials.
sudo cat automate-credentials.toml
Rajesh Rajendran8:56 PM
yes
Ananth M.8:56 PM
Yes
Kalaiarasan Kirubanandam8:56 PM
yes
somasundaram selvamuthukumar8:56 PM
s
vamsi krishna8:56 PM
yes, except the last part
ganesh8:57 PM
yes
Raghavendran Annamalai8:57 PM
yes
Arunkumar Nagaraj8:57 PM
Yes
Saju Krishnan8:57 PM
yes done infra
sathyaraj k8:57 PM
Yes
Vijayakumar8:57 PM
yes
vaithiy anathan8:57 PM
Chef infra server --yes
Mani kandan8:57 PM
yes
You8:57 PM
for me both UI not working
Mathivanan8:57 PM
yes
archana sekar8:57 PM
Yes logged into chef manage
Pethu Raj8:58 PM
am facing issue chef automate itself
Sathiyaraj Sridhar9:00 PM
Modify Host file
Terms of Service
https://www.chef.io/terms-of-service
I agree to the Terms of Service and the Master License and Services Agreement
(y/n)
y