ebook img

Configuration Management with Chef-Solo PDF

116 Pages·2014·2.017 MB·English
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview Configuration Management with Chef-Solo

Configuration Management with Chef-Solo A comprehensive guide to get you up and running with Chef-Solo Naveed ur Rahman BIRMINGHAM - MUMBAI Configuration Management with Chef-Solo Copyright © 2014 Packt Publishing All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews. Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book. Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information. First published: June 2014 Production reference: 1190614 Published by Packt Publishing Ltd. Livery Place 35 Livery Street Birmingham B3 2PB, UK. ISBN 978-1-78398-246-2 www.packtpub.com Cover image by Béchir Charfi ([email protected]) Credits Author Project Coordinator Naveed ur Rahman Aboli Ambardekar Reviewers Proofreaders Anirudh Bhatnagar Maria Gould Stuart Ellis Paul Hindle Jorge Moratilla Indexer Rekha Nair Commissioning Editor Edward Gordon Graphics Disha Haria Acquisition Editor Subho Gupta Production Coordinator Shantanu Zagade Content Development Editor Sriram Neelakantan Cover Work Shantanu Zagade Technical Editors Venu Manthena Shruti Rawool Copy Editors Janbal Dharmaraj Karuna Narayanan About the Author Naveed ur Rahman is a self-taught programmer and an avid traveler. When he is not experimenting with the latest in programming and deployment, he is out camping and watching cricket. His adventures in programming began at a very young age when he got introduced to GW-BASIC. Now, he has experience working for one of the biggest tech names in the Middle East. Having worked at the largest technology company in the Middle East, Naveed has helped teams create and deploy applications written in various languages using configuration management tools. I would like to thank my family for supporting me throughout the process of writing. Also, the help of Packt Publishing staff has been incredible. I would like to thank my project coordinator and content development editor who supported me in writing and finalizing the content. Also, the technical reviewers provided me with a clear guideline to make this book more effective. Moreover, their valuable critiques allowed me to refine my work. About the Reviewers Anirudh Bhatnagar is a technology consultant with an extensive experience in Agile product development and consulting. He started his career working as a Java developer with product-based companies such as Adobe Systems, India, where most of his experience was in Java, J2EE, Spring, Hibernate, XML, Web Services, REST, CMS, SSO, ESB, and Liferay. Currently, he is working as a Principal Consultant in Xebia, India with specialization in Continuous Delivery methodology, and working on developing a PaaS for service orchestration using Mule ESB, ActiveMQ, Elasticsearch, Jenkins, Maven, Chef, and AWS. He has been contributing to the software community through his blogs, articles, projects, meetups, and conferences. Recently, he has started a DevOps community in New Delhi and has spoken at DevOpsDays India 2013. Stuart Ellis works for a Ruby on Rails and mobile software development company, where he has many hats. In his current and previous roles, he has developed software with .NET and Ruby, written SQL in a surprising number of dialects, managed different combinations of Windows and Linux, and studied history. Jorge Moratilla has a Bachelor's degree in Computer Science and has been working for Internet companies since 1998. He has been working as a contractor for companies such as Sun Microsystems and Oracle, working as a certified instructor and field engineer for several years. He has a large background working with technologies and products such as Linux, Solaris, LDAP, and Check Point. Recently, he has been working in development companies, mainly as a system administrator, and performing several tasks related with Agile management, testing, and Continuous Deployment. As a coordinator of the technical group Madrid DevOps, he promotes the adoption of a culture of continuous improvement in the enterprise. You can meet him at talks and hangouts he organizes in the community. I would like to personally thank my wife Nuria and son Eduardo for being so understanding and supportive while I was reviewing this book. Also, I would like to thank my dear mom Milagros and dad Toñi, who put in all the effort to give me an education. Finally, I would thank also all those who have contributed to my personal and professional development through the years. www.PacktPub.com Support files, eBooks, discount offers, and more You might want to visit www.PacktPub.com for support files and downloads related to your book. Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub. com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at [email protected] for more details. At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks. TM http://PacktLib.PacktPub.com Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can access, read and search across Packt's entire library of books. Why subscribe? • Fully searchable across every book published by Packt • Copy and paste, print and bookmark content • On demand and accessible via web browser Free access for Packt account holders If you have an account with Packt at www.PacktPub.com, you can use this to access PacktLib today and view nine entirely free books. Simply use your login credentials for immediate access. Table of Contents Preface 1 Chapter 1: Introduction to Chef and Chef-Solo 5 Getting started with Chef 5 Understanding Chef-Solo 7 Terminologies 9 List of terminologies 9 Node 9 Workstation 10 Cookbooks 10 Recipes 11 Resources 12 Roles 13 Attributes 14 Templates 14 Data bags 15 Different use cases 15 PHP WordPress 15 Python/Django application 16 An overview of Chef 16 Summary 17 Chapter 2: Setting Up an Environment for Chef-Solo 19 Installation on Linux and Ubuntu 19 Installing Chef as a Ruby gem 20 Installing Chef as a package manager 21 Using the Omnibus installer 22 Prerequisites of Chef-Solo 22 Cookbooks 23 The folder structure 24 Attributes 24 Files 25

See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.