Tuesday, June 30, 2015

What is Chef (Part 1)



Hello All,
Chef is an awesome Configuration Management Tool to automate your IT and it’s open source and supported by a community of system administrators and developers. Chef configures and manages your infrastructure no matter if it’s on-premises or in the cloud. You can also use Chef for application deployment. Basically, with Chef, you change your infrastructure to code and have some of the same characteristics of applications such as testing, repeating, and versioning. 


With Chef, your infrastructure is consistent, which means instead of configuring servers manually, you can automate it with Chef in such a way that meets security and compliance requirements and avoid repeating tasks. And in general, servers that configures manually are so fragile and hard to understand and modify and debug. This would be worse if the number of servers goes high, let’s say above 20 servers. And most importantly, it’s really easy to rebuild the servers with Chef from scratch and this is not the case for those servers that are built manually. A good example can be losing a server for whatever reason, let’s say a virus or disk failures, and restoring your servers with all the same configuration automatically and quickly.

You can install Chef on Linux, Mac OS, and Windows,  but I am going to install Chef on CentOS 6.0. First of all, you need to download the installation package. Go to https://downloads.chef.io/index.html and select Chef Development Kit.

                                                                           Figure 1



 In the next page, I selected Red Hat Enterprise Linux which is good for CentOS as well in my case. 


                                                                              Figure 2


Then select either Linux 6 or Linux 7, whatever fits your requirement in your environment. In my case, I chose Linux 6. 

                                                                                     Figure 3

Now, open terminal and run the below command to install Chef:
Note: depends on your version of package, you may change the numbers
rpm -Uvh chefdk-0.6.2-1.el6.x86_64.rpm

                                                                                      Figure 4


Now, verify that ruby has been installed in correct location (/opt/chefdk/embedded/bin/ruby). Also, make sure ruby is in the PATH. If not, add it by export command:
export PATH=”/opt/chefdk/embedded/bin:$PATH”

                                                                                     Figure 5


Then make sure all Chef components has been installed successfully. Run the below command:
ls /opt/chedk/bin
Also, verify the chef client version.

                                                                                      Figure 6


And that’s all for part 1. In part 2, I will show you some simple example and going through basic commands.

Hope you enjoyed,
Khosro Taraghi


40 comments:

  1. Taking about Alexa & Echo duo the Echo is the loudspeaker whereas Alexa is the speech software. They together work to perform a various task that we call as Alexa skills.

    for more details 844 260 1666

    ReplyDelete
  2. Is Connectivity issue your major headache whenever you log in to the Binance account? Is this issue creating a mess in your Binance account and you need a solution to fix this error? How do you handle such errors which are quite difficult to resolve? You don’t have to get panic as you can speak to the Binance Support Number team of elite professionals who are always there to guide you. Pick your phone and dial Binance support phone number which is all the time to assist you. You can release your problems in short-time in a plain-sailing manner.

    ReplyDelete
  3. Have you done a transaction from your Blockchain account but with the wrong address? This error is a massive one and is quite difficult to undo this process. Well, you can be relaxed as the team of experts who are active around the clock and have all the methodologies to deal with the errors and you can ask for stepwise Blockchain Support NUmber assistance so that it would be easy to erase all errors. Just take the phone and dial Blockchain customer support number and get the required solutions in the least possible time.

    ReplyDelete
  4. It’s time to begin HP Envy 5055 setup, if the model is brand new. Suggest you to refer the instructions available on your setup manual to get an idea
    1.To start with, collect the requirements and you need a Power and Ethernet cable
    2.-Analyze and identify the exact port to insert the cable
    3.Activate the Internet connection. As two methods are available, it’s your interest to choose the one that can offer you better speed
    4.If wireless is your choice, select the option and type the network credentials
    5.Now proceed to find the matching software for your model
    6.The process is easy and you can navigate to the appropriate software and driver download page
    7.Finally, Go back to the installation settings to complete the process

    ReplyDelete
  5. Thanks for sharing, nice post! Post really provice useful information!

    Hương Lâm chuyên cung cấp máy photocopy và dịch vụ cho thuê máy photocopy giá rẻ, uy tín TP.HCM với dòng máy photocopy toshiba và dòng máy photocopy ricoh uy tín, giá rẻ.

    ReplyDelete
  6. Want to end 2fa error in Gemini account? How to end issues related to 2fa error so that you can secure your account from unwanted activities? Dial Gemini support number and get best-fitted and resilient resolutions from the team of Gemini Support Number customer executives in no time. You can approach the skilled and talented customer executive experts anytime and get solutions and remedies in abundance which is not only accessible but fruitful to utilize.

    ReplyDelete
  7. Sometimes users get into troubles and the most daunting error is unable to receive the money. In order to end up such queries and errors in the least possible time, you can always speak to the team of customer team which is always Gemini Support Number approachable and users can contact them anytime and gets best of the results in no time. Dial Gemini customer support number which is always approachable and is the medium to confront your queries in front of the professionals.

    ReplyDelete
  8. Thanks for sharing, nice post! Post really provice useful information!

    Hương Lâm website huonglam.com.vn chuyên dịch vụ cho thuê máy photocopy giá rẻ, uy tín TP.HCM với dòng máy photocopy toshiba và dòng máy photocopy ricoh uy tín, giá rẻ.

    ReplyDelete
  9. Is your trezor password got hacked? Do you want to recover it? One should have 2fa and google authenticator factor in their device in order to protect their account from malware activities and even have recovery option like secret question or recovery phrase. To get rid of all the issues or errors, you need to dial trezor customer care number. The experts are functional throughout the day without any difficulty and always ready to assist the users at any point of time. So get the best and certified solutions from the professionals.
    Trezor Customer Support
    Trezor Toll Free Number

    ReplyDelete
  10. Are you having trouble in solving the error that occur at the time of withdrawing from the Binance exchange? If you don’t know how to handle all these troubles and need guidance from the experts, you can always take assistance from the professionals who are there to guide you. You can always call on Binance customer care number which is always active and the right direction that lead to the pathway of many solutions and remedies. They are always at service to guide you the right path which is easy to Binance Customer Service Number execute. Connect to them whenever you are in trouble and they will provide you the best guidance from the roots instantly.

    ReplyDelete
  11. Blockchain hacking attempts? It does exist and previous incident took place in 2019 when the lost its massive amount. Hackers with their skills manage to steal coins and information from users account. To deal with this error from the root or to be on a safer side, you can always take help from the elite members Blockchain Customer Service Number who are there to assist you. You can always make a call on Blockchain customer service number which is functional and the team is ready to assist you at every step without taking much of your time.

    ReplyDelete
  12. As we know there are many companies which are converting into Big data engineering automation with the right direction we can definitely predict the future.

    ReplyDelete
  13. Are you experiencing issues at the time of making bitcoin transaction in the Blockchain account? If you are unable to handle such errors and need support to deal with all Blockchain related queries, you can always approach the skilled professionals Blockchain Customer Service Number who are always there to handle all queries. You can always call on Blockchain customer service number which is always functional and the team is ready to assist you in every manner. Contact the members anytime for quality-driven remedies.

    ReplyDelete
  14. Password plays a role of mediator who 18778462817 guides you the road of your Binance account. If you are dealing with password issues and looking for assistance, you can always call on Binance customer service number which is functional all the time for assistance. You can contact with the team anytime and avail results that are easy to execute. Connecting with the team anytime to avail results that are easy to Binance Customer Service Number execute and beneficial for users who are looking for solutions to deal with queries. Connecting the team is a right decision, therefore, contact the team whenever you need them most and get rid of all troubles immediately from the roots.

    ReplyDelete
  15. thank you for the amazing.I am really happy with your blog because your article is very unique and powerful for new reader.

    https://www.acte.in/php-training-in-chennai
    https://www.acte.in/machine-learning-training-in-chennai
    https://www.acte.in/iot-training-in-chennai
    https://www.acte.in/blockchain-training-in-chennai
    https://www.acte.in/openstack-training-in-chennai

    ReplyDelete
  16. Thank you for share!!!
    Hình thức vận chuyển hàng hóa đường sắt từ Nam ra Bắc ngày càng được nhiều người quan tâm. Đi kèm với đó là những dịch vụ khác như:Vận chuyển ô tô bằng đường sắt, vận chuyển xe máy bằng tàu hỏavận chuyển container lạnh đường sắt kết hợp với vận chuyển container đường bộ cũng nhận được sự quan tâm lớn từ khách hàng hiện nay.

    ReplyDelete
  17. Thank you so much for your efforts for this valuable blog, keep it up for more updates. Visit Ogen Infosystem for professional website designing and SEO Services in Delhi, India at an affordable price.
    Best Website Designing Company in India

    ReplyDelete
  18. I am Irene Garcia, a Corporate Sales Specialist operating in the Latin American region. We are experts in Market Research (Mercado del Aceite de Palma en Brasil). We provide market reports across various industry verticals and also help with procurement and supply chain intelligence. By giving you better insights, we help you make informed business decisions. For more details visit on

    ReplyDelete
  19. The Global Medical Cannabis Market is being driven by the rising adoption of cannabis by the healthcare sector. Cannabis is safer and has less harmful side effects than other treatment options. Along with other therapies, it is often used either to increase their effectiveness or to battle adverse side effects.

    ReplyDelete
  20. Global Aerosol Cans Market: The increasing purchasing power of consumers, especially in developing countries is driving the growth of the aerosol cans market. This is due to factors such as rapid urbanisation, growing population, and increasing disposable incomes, which are leading people to switch to aerosol alternatives for cheaper products.

    ReplyDelete
  21. Great Post Admin,
    Roku is a kind of streaming device that offers the most convenient way to watch TV. For any Quires feel free contact us.
    Activate Hulu Plus on Roku Device

    ReplyDelete

  22. I really loved reading your blog. It was very well authored and easy to understand about Blockchain Customer Support Phone Number Unlike other blogs I have read which are really not that good. Thanks!

    ReplyDelete
  23. Nice Post. I wanted to share NewsNMediaRelease and and NewsERelease
    Free Guest Posting Websites with you guys. This websites provide free do follow backlink

    ReplyDelete
  24. Nice blog.

    Global e-learning market is expected to reach at the CAGR of more than 11% by 2026.

    ReplyDelete
  25. At first, the data was small. But then it got bigger. And bigger. Until it got so huge that a new approach was required. The challenge became: How do you collect, store, and analyze all of this data? The answer:big data analytics infrastructure

    ReplyDelete
  26. We are really grateful for your blog post. You will find a lot of approaches after visiting your post. Great work. Also visit my website: 바카라사이트

    ReplyDelete
  27. I will be very happy to discover this kind of post very useful personally, since it consists of great deal of info. I usually prefer to read the top quality content material and also this factor I discovered in your soul submit. Thanks for sharing. Also visit my website: 바카라사이트

    ReplyDelete
  28. Thanks For Sharing Such An Interesting Article, It Is Really Worthy To Read. I Have Subscribed To You And From Now On I'll Check Your Profile Daily For Interesting Stuffs. Also visit my website: 바카라사이트

    ReplyDelete
  29. I must thank you for the efforts you’ve put in writing this blog. I am hoping to view the same high-grade blog posts from you later on as well. In fact, your creative writing abilities has inspired me to get my very own blog now ?? Thank you for the auspicious writeup. Also visit my website: 바카라

    ReplyDelete
  30. Thanks For Sharing. We have development company based in Mohali and offer internship or in-house php training in mohali, reactjs training in mohali

    Must contact us to know more about the hiring process.

    ReplyDelete
  31. I cant taking office on focusing long adequate to research; lots less write this rosy of article. Youve outdone your self as quickly as this cloth truely. it's miles one of the greatest contents. Gamemaker Studio Pro Download

    ReplyDelete
  32. i'm incapable of reading articles online particularly frequently, however Im happy I did nowadays. it is selected adroitly written, and your points are adeptly-expressed. I demand you harmoniously, entertain, dont ever lower writing. X BF Birthday Wishes

    ReplyDelete
  33. This comment has been removed by the author.

    ReplyDelete
  34. ทดลองเล่นสล็อคค่าย joker ด้วยวิดีโอสล็อตอัปเดตล่าสุดจากบริษัทเกมรายใหญ่ Burning Pearl สล็อตแมชชีนสไตล์จีนพร้อมรางวัลโบนัสที่แตกง่าย ตัวคูณแจ็คพอตสูง สิ่งนี้มาพร้อมกับรางวัลตัวคูณที่ได้รับผ่านเครือข่าย เว็ปไซต์ http://www.jokerslot.ninja/service/play-demo/

    ReplyDelete
  35. Online slots games are easy to play and easy to crack. There are many awards rumors. Many promotions are prepared for online gamblers. And can claim an additional 20% bonus all day long. All deposits come in Please come and visit pg entrance ทางเข้าเล่น คลิกที่นี้ to serve you all the time like a VIP and have many big prizes waiting for players to win today.

    ReplyDelete
  36. Slot Machine เกมส์สล็อตที่มาแรงอันดับที่ 1 ของไทย พร้อมบริการที่รวดเร็ว ทันใจ pgslot แถมยังมีโปรโมชั่นสำหรับท่านสมาชิกอีกมากมาย

    ReplyDelete

  37. Hi.
    Thank you for this information. I'm delighted to find this post incredibly useful personally, as it contains a wealth of information. I always prioritize reading top-quality content, and your post certainly aligns with that. Thank you for sharing such valuable insights. Your expertise shines through in your writing.Here is sharing some Oracle CPQ BML Training information may be its helpful to you.
    Oracle CPQ BML Training

    ReplyDelete