MOTOSHARE 🚗🏍️
Turning Idle Vehicles into Shared Rides & Earnings

From Idle to Income. From Parked to Purpose.
Earn by Sharing, Ride by Renting.
Where Owners Earn, Riders Move.
Owners Earn. Riders Move. Motoshare Connects.

With Motoshare, every parked vehicle finds a purpose. Owners earn. Renters ride.
🚀 Everyone wins.

Start Your Journey with Motoshare

Write 10 Chef Cookbooks to test your chef programming skills

10-chef-cookbooks-to-test-y
Chef

chef-cookbooks-to-test-your-chef-programming-skills

  1. Write a cookbook using you can install apache http server in CentOs and Ubuntu, enable the services and start the service.

  2. Write a recipe using template resources to create a file, but only if an attribute has a specific value.

  3. Write a recipe to create a file using a string, but not if “/etc/passwd” exists?

  4. Write a cookbook to unzip a file, and then move a files from one location to another using batch, bash chef resources?

  5. Create a role and assign any two cookbooks to role and setup a 2 nodes assigned to role and conerse the role.

  6. Write a cookbook using install version of latest tomcat and deploy jenkins.war files into war.

  7. Write a 4 cookbooks php, mysql, apache and webapp respectively and map a dependency between them and install a sample web application.

  8. Write a cookbook to install git, wget, zip in RHEL and Ubuntu.

  9. Write a cookbook in which create a file using a string, but only if “/etc/passwd” exists

  10. Write a coobook to run a batch file that unzips and then moves files from one location to another.

0 0 votes
Article Rating
Subscribe
Notify of
guest

1 Comment
Oldest
Newest Most Voted
Noor
Noor
5 months ago

This blog is a great practical way to sharpen Chef skills because building multiple cookbooks makes you learn the “why” behind configuration management, not just the syntax. When you write cookbooks for common tasks (user management, package install, service setup, templating configs, cron jobs, log rotation, firewall rules, and app deployment), you naturally practice core Chef concepts like resources, recipes, attributes, templates, notifications, and—most importantly—idempotency (running the same code safely again and again). To get maximum value, treat each cookbook like a real project: keep it modular, use proper naming, add parameterized attributes, and include automated checks with Test Kitchen and InSpec so you can validate changes before production. Over time, these exercises build the mindset of writing predictable, maintainable automation that teams can trust.

1
0
Would love your thoughts, please comment.x
()
x