Opis ebooka: Customizing Chef
Take advantage of Chef’s highly customizable design to tackle specific automation issues that you can’t solve by simply using Chef’s tools, resources, and services out of the box. With this practical guide, you’ll examine the internal structure of this configuration management technology and learn where, how, and why to add custom code.
Author Jon Cowie not only provides code snippets and practical advice for customizing Chef, but also helps you determine case by case whether it’s in your best interests to customize at all. If you have intermediate-to-advanced Chef experience, this book is indispensable.
- Explore Chef’s typical setups and why you’d want to customize them
- Learn the Ruby concepts needed to write customizations
- Customize the Chef run process and explore Chef’s internal classes
- Gain more insight into your Chef runs through handlers and Chef’s event stream
- Level up your Chef recipes by writing your own resources and providers
- Create and extend plugins for Knife—Chef’s command-line tool
- Interact with the Chef API to write scripts and reports
- Learn how to contribute customizations to the Chef community
Wybrane bestsellery
-
PowerShell scripts provides a convenient method for automating tasks, using them proficiently can be challenging. This all-inclusive guide begins at the basics and covers advanced concepts, equipping you with tips to become an expert in PowerShell Core 7.3 scripting.
Mastering PowerShell Scripting. Automate repetitive tasks and simplify complex administrative tasks using PowerShell - Fifth Edition Mastering PowerShell Scripting. Automate repetitive tasks and simplify complex administrative tasks using PowerShell - Fifth Edition
(92.88 zł najniższa cena z 30 dni) -
Mastering Linux Administration, this book will help you become a proficient sysadmin and quickly adapt to the challenges of modern server and cloud administration technologies.
Mastering Linux Administration. Take your sysadmin skills to the next level by configuring and maintaining Linux systems - Second Edition Mastering Linux Administration. Take your sysadmin skills to the next level by configuring and maintaining Linux systems - Second Edition
-
Discover a proven method to learning programming in an accessible style. Ideal for enthusiasts, this book guides your from fundamentals to advanced concepts, enabling you to code confidently and build your tools and libraries using PowerShell 7.
PowerShell 7 Workshop. Learn how to program with PowerShell 7 on Windows, Linux, and the Raspberry Pi PowerShell 7 Workshop. Learn how to program with PowerShell 7 on Windows, Linux, and the Raspberry Pi
-
With this new edition, get to grips with Linux kernel development on the long-term 6.1 (S)LTS kernel in a hands-on way with the help of brilliant code examples. Linux Kernel Programming 2E teaches you how to write high-quality kernel modules suitable for real-world products, following industry be...
Linux Kernel Programming. A comprehensive and practical guide to kernel internals, writing modules, and kernel synchronization - Second Edition Linux Kernel Programming. A comprehensive and practical guide to kernel internals, writing modules, and kernel synchronization - Second Edition
-
This practical guide enables you to implement DevOps best practices while building systems with automation and reusability in mind. You’ll learn the modern-day infrastructure design best practices needed to create an impact on data-persistent technologies.
DevOps for Databases. A practical guide to applying DevOps best practices to data-persistent technologies DevOps for Databases. A practical guide to applying DevOps best practices to data-persistent technologies
-
Implementing CI/CD Using Azure Pipelines contains everything you need to automate your CI/CD pipelines using Microsoft Azure. You’ll learn how to efficiently manage your CI/CD pipelines, deploy your apps, and set up workflow pipelines on Azure DevOps portal.
Implementing CI/CD Using Azure Pipelines. Manage and automate the secure flexible deployment of applications using real-world use cases Implementing CI/CD Using Azure Pipelines. Manage and automate the secure flexible deployment of applications using real-world use cases
-
Okta is one of the leading IAM platforms that consolidate identities for company tools. Okta Administration Up and Running is a comprehensive introduction for anyone new to Okta’s products, and aims to help you understand and implement Okta’s features for enhanced security in your a...
Okta Administration Up and Running. Drive operational excellence with IAM solutions for on-premises and cloud apps - Second Edition Okta Administration Up and Running. Drive operational excellence with IAM solutions for on-premises and cloud apps - Second Edition
-
Unlock the understanding of the Microsoft 365 identity platform and security technologies for the MS-102 exam. From Entra ID essentials to core Microsoft 365 Defender deployment and key governance concepts, gain practical insights for success.
Microsoft 365 Administrator MS-102 Exam Guide. Master the Microsoft 365 Identity and Security Platform and confidently pass the MS-102 exam Microsoft 365 Administrator MS-102 Exam Guide. Master the Microsoft 365 Identity and Security Platform and confidently pass the MS-102 exam
-
This comprehensive guidebook provides a detailed overview of 100 essential Linux commands that every system administrator should know. With clear explanations and practical examples, this book is an invaluable resource for improving your skills and expertise in Linux administration. From package ...
Essential Linux Commands. 100 Linux commands every system administrator should know Essential Linux Commands. 100 Linux commands every system administrator should know
-
This book is for software and IT professionals seeking knowledge on Linux systems and DevOps practices. This book will provide you with guidance and tools to learn and gain proficiency in managing Linux-based infrastructures and knowledge of DevOps.
The Linux DevOps Handbook. Customize and scale your Linux distributions to accelerate your DevOps workflow The Linux DevOps Handbook. Customize and scale your Linux distributions to accelerate your DevOps workflow
Ebooka "Customizing Chef" przeczytasz na:
-
czytnikach Inkbook, Kindle, Pocketbook, Onyx Boox i innych
-
systemach Windows, MacOS i innych
-
systemach Windows, Android, iOS, HarmonyOS
-
na dowolnych urządzeniach i aplikacjach obsługujących formaty: PDF, EPub, Mobi
Masz pytania? Zajrzyj do zakładki Pomoc »
Audiobooka "Customizing Chef" posłuchasz:
-
w aplikacji Ebookpoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych
-
na dowolnych urządzeniach i aplikacjach obsługujących format MP3 (pliki spakowane w ZIP)
Masz pytania? Zajrzyj do zakładki Pomoc »
Kurs Video "Customizing Chef" zobaczysz:
-
w aplikacjach Ebookpoint i Videopoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych z dostępem do najnowszej wersji Twojej przeglądarki internetowej
Szczegóły ebooka
- ISBN Ebooka:
- 978-14-919-4937-5, 9781491949375
- Data wydania ebooka:
- 2014-08-28 Data wydania ebooka często jest dniem wprowadzenia tytułu do sprzedaży i może nie być równoznaczna z datą wydania książki papierowej. Dodatkowe informacje możesz znaleźć w darmowym fragmencie. Jeśli masz wątpliwości skontaktuj się z nami sklep@ebookpoint.pl.
- Język publikacji:
- angielski
- Rozmiar pliku ePub:
- 2.4MB
- Rozmiar pliku Mobi:
- 2.4MB
Spis treści ebooka
- Customizing Chef
- Dedication
- Foreword
- Preface
- Who This Book Is For
- How This Book Is Organized
- Conventions Used in This Book
- Using Code Examples
- Safari Books Online
- How to Contact Us
- Acknowledgments
- I. Chef and Ruby 101
- 1. Introduction
- What Is Configuration Management?
- So Why Chef?
- Think Critically
- Meet AwesomeInc
- Criteria for Customization
- How Do We Find Out When Our Chef Runs Are Failing, and Why?
- How Do We Simplify Our Recipes to Reduce the Amount of Replicated Code?
- How Do We Stop Our Developers and Ops Staff from Treading All over Each Others Changes?
- State of the Customization Nation
- Chef Supermarket
- Development Tooling
- Workflow Tooling
- Knife Plugins
- Handlers
- Recipes and Resources
- 1. Introduction
- Chef Installation Types and Limitations
- chef-solo
- Open Source Chef
- Local Mode
- Private Enterprise Chef
- Hosted Enterprise Chef
- Prerequisites
- Knife
- Nodes and Clients
- Cookbooks, Attributes, Roles, Environments, and Data Bags
- Chef Search
- Ruby
- Assumptions
- 2. Just Enough Ruby to Customize Chef
- Ruby Is Object-Oriented
- Ruby Is Dynamically Typed
- Classes
- Getter and Setter Methods
- Variable Scoping
- Local Variables
- Class Instance Variables
- Inheritance
- Modules
- Modules as Namespaces
- Modules as Mixins
- Using Other Classes and Modules
- Local Classes
- RubyGems
- Built-in Classes
- When Things Go Wrong
- Exceptions
- Handling Exceptions
- Defining Custom Exception Types
- Tying It All Together
- File Operations
- HTTP Requests
- Summary
- 3. Chef Internals
- Chef Architecture
- Chef Client Tools
- Chef Server
- Chef Architecture
- Anatomy of a Chef Run
- Get Configuration Data
- Ohai
- Get Configuration Data
- Authenticate/Register
- Load and Build Node Object
- Synchronize Cookbooks
- SetUp RunContext
- Load Cookbook Data
- Converge Node
- Finalize
- Dry-Run and Why-Run
- The Problem with Dry-Run
- Why-Run Mode
- Usefulness of Why-Run
- Using the Source
- Getting the Chef Source Code
- Chef Source Structure
- Tracing a chef-client Run
- Execute the chef-client Command
- Run the Real chef-client Script
- The Chef::Application::Client Class
- The Chef::Application::Client run_chef_client Method
- The Chef::Client Class
- The Chef::Client Class do_run Method
- Summary
- II. Customizing Chef Runs
- 4. Extending Ohai
- Introduction
- Ohai Attribute Collection
- The Ohai Source Code
- Introduction
- Ohai Example 1: Plugin Skeleton
- Testing and Running Ohai Plugins
- Testing Using irb
- Running Using Chef
- 4. Extending Ohai
- Ohai Example 2: Adding More to the Plugin
- The Mash Object
- Multiple collect_data Methods
- Running example2.rb
- Ohai Example 3: Multilevel Plugins
- Summary
- 5. Creating Handlers
- Preparing a Test Environment
- Create the Test chef-client Configuration
- Create a Test Cookbook
- Verify That the Test Environment Works Correctly
- Preparing a Test Environment
- Introduction to Handlers
- The Run Status Object
- Run Status Methods
- Run Information Methods
- Run Object Methods
- Handler Example 1: Start Handler
- Handler Example 2: Report Handler
- Handler Example 3: Exception Handler
- Handlers: Summary and Further Reading
- 6. Extending Chef Run Events
- Introduction to the Event Dispatcher
- Event Dispatcher Initialization
- Publish Overview
- Subscribe Overview
- Creating Formatters
- Formatter Example 1: Skeleton Formatter
- Formatter Example 2: Slightly Less Skeletal
- Formatter Example 3: Custom Event Methods
- Setting the Default Formatter
- Formatters: Summary and Further Reading
- Creating Custom Subscribers
- Subscriber Example 1: Skeleton Subscriber
- Subscriber Example 2: Registration with Start Handlers
- Subscriber Example 3: Custom Event Methods
- Custom Subscribers: Summary
- Revisiting AwesomeIncWhich Customization?
- Summary
- III. Customizing Recipes
- 7. Definitions and Libraries
- Cookbook Structure Revisited
- Creating a Test Environment
- Definitions
- What Is a Definition?
- Definition Example 1: Skeleton
- Adding Parameters
- Definition Example 2: Using Parameters
- Adding Resources
- Definition Example 3: Using Resources
- Libraries
- What Is a Library?
- Library Example 1: Modules and Mixins
- Library Example 2: Methods in a Custom Namespace
- Library Example 3: Extending Core Chef Classes
- Summary and Further Reading
- 7. Definitions and Libraries
- 8. Lightweight Resources and Providers
- Introduction to Resources and Providers
- Automatically Choosing Providers
- Resources and ProvidersLightweight Versus Heavyweight
- Introduction to Resources and Providers
- Introduction to LWRPs
- LWRP Example 1: Getting Started with LWRPs
- Example 1: Creating a Resource
- Example 1: Creating a Provider
- Example 1: Using Our LWRP in a Recipe
- The LWRP Domain-Specific Language
- Resource DSL
- Provider DSL
- LWRP Example 2: Extending the Provider
- Provider Internals
- Desired Resource State
- Current Resource State
- Identifying and Executing Changes
- Keep it simple, keep it relevant
- Pick your state object sensibly
- Remember the criteria
- Informing Chef About Updates
- LWRP Example 3: Native Provider
- Example 3: Preparing the Resource and Provider
- Example 3: The load_current_resource Method
- Example 3: Coding the Actions
- Summary and Further Reading
- 9. Heavyweight Resources and Providers
- Introduction to HWRPs
- Why Write HWRPs?
- HWRPs in Cookbooks
- Introduction to HWRPs
- HWRP Example 1: Getting Started with HWRPs
- Example 1: Creating a Resource
- Example 1: Creating a Provider
- Example 1: Using Our HWRP in a Recipe
- Example 1: Extending the Provider
- Advanced HWRP Tricks
- Mixing HWRPs and LWRPs
- Overriding Automatic Provider Resolution
- Implementing Multi-Provider Resources
- HWRP Example 2: Extending the package Resource
- Example 2: Creating a Provider
- Example 2: Using Our Provider in a Recipe
- Example 2: Tapping into Chefs Provider Mapping
- Summary and Further Reading
- IV. Other Customizations
- 10. Customizing Knife
- The Knife Source Code
- Introduction to Knife Plugins
- Anatomy of a Knife Command
- Step 1: Validate and Parse Options
- Step 2: Load Plugins
- Step 3: Get Subcommand Class
- Step 4: Load Dependencies
- Step 5: Create Subcommand Object
- Step 6: Run Plugin
- Creating a Test Environment
- Prerequisites and Preparation
- Verifying That the Test Environment Works Correctly
- 10. Customizing Knife
- Knife Example 1: Wrapping an Existing Plugin
- Presenting Presenters!
- Chef::Knife::Core::GenericPresenter
- Chef::Knife::Core::NodePresenter
- The UI Class
- User Interaction Methods
- Message Output Methods
- Other Output Methods
- Object Editing Methods
- HighLine Methods
- Knife Example 2: Search Plugin
- Working with Chef Objects
- Loading Objects: Searching
- Loading Objects: Direct Loading
- Editing and Saving Objects Noninteractively
- Editing and Saving Objects Interactively
- Creating and Updating Objects from Files
- Knife Example 3: Tying It All Together
- Revisiting AwesomeIncPlugin Best Practices
- Summary and Further Reading
- 11. The Chef API
- Introduction to the Chef API
- So Why Use the Chef API?
- Authenticating to the Chef API
- Introduction to the Chef API
- Creating a Test Environment
- API Example 1: Authenticating and Making a GET Request
- The Chef::Rest Class
- API Example 2: Combining Multiple API Requests
- Error Handling
- Secrets of the Chef API
- The /_status Endpoint
- Partial Search
- Summary and Further Reading
- 12. Contributing Your Customizations
- Documentation
- Supporting Your Code
- Managing Contributions
- Testing Your Software
- Ruby and Infrastructure Testing Tools
- Continuous Integration Tools
- Chef-Specific Tooling
- Further Reading
- Versioning Your Software
- Semantic Versioning
- Licensing and Copyright
- Copyright
- Licensing Your Code
- Distributing Your Customizations
- Sharing the Source Code
- Community Cookbooks
- RubyGems
- Distribution via Cookbook
- Summary
- A. Chef API Endpoints and Verbs
- Index
- Colophon
- Copyright
O'Reilly Media - inne książki
-
Software as a service (SaaS) is on the path to becoming the de facto model for building, delivering, and operating software solutions. Adopting a multi-tenant SaaS model requires builders to take on a broad range of new architecture, implementation, and operational challenges. How data is partiti...(237.15 zł najniższa cena z 30 dni)
245.65 zł
289.00 zł(-15%) -
Great engineers don't necessarily make great leaders—at least, not without a lot of work. Finding your path to becoming a strong leader is often fraught with challenges. It's not easy to figure out how to be strategic, successful, and considerate while also being firm. Whether you're on the...(118.15 zł najniższa cena z 30 dni)
126.65 zł
149.00 zł(-15%) -
Data science happens in code. The ability to write reproducible, robust, scaleable code is key to a data science project's success—and is absolutely essential for those working with production code. This practical book bridges the gap between data science and software engineering,and clearl...(211.65 zł najniższa cena z 30 dni)
220.15 zł
259.00 zł(-15%) -
With the massive adoption of microservices, operators and developers face far more complexity in their applications today. Service meshes can help you manage this problem by providing a unified control plane to secure, manage, and monitor your entire network. This practical guide shows you how th...(194.65 zł najniższa cena z 30 dni)
211.65 zł
249.00 zł(-15%) -
Get practical advice on how to leverage AI development tools for all stages of code creation, including requirements, planning, design, coding, debugging, testing, and documentation. With this book, beginners and experienced developers alike will learn how to use a wide range of tools, from gener...(164.25 zł najniższa cena z 30 dni)
186.15 zł
219.00 zł(-15%) -
Rust's popularity is growing, due in part to features like memory safety, type safety, and thread safety. But these same elements can also make learning Rust a challenge, even for experienced programmers. This practical guide helps you make the transition to writing idiomatic Rust—while als...(164.25 zł najniższa cena z 30 dni)
186.15 zł
219.00 zł(-15%) -
Advance your Power BI skills by adding AI to your repertoire at a practice level. With this practical book, business-oriented software engineers and developers will learn the terminologies, practices, and strategy necessary to successfully incorporate AI into your business intelligence estate. Je...(211.65 zł najniższa cena z 30 dni)
220.15 zł
259.00 zł(-15%) -
Microservices can be a very effective approach for delivering value to your organization and to your customers. If you get them right, microservices help you to move fast by making changes to small parts of your system hundreds of times a day. But if you get them wrong, microservices will just ma...(203.15 zł najniższa cena z 30 dni)
211.65 zł
249.00 zł(-15%) -
JavaScript gives web developers great power to create rich interactive browser experiences, and much of that power is provided by the browser itself. Modern web APIs enable web-based applications to come to life like never before, supporting actions that once required browser plug-ins. Some are s...(186.15 zł najniższa cena z 30 dni)
186.15 zł
219.00 zł(-15%) -
How will software development and operations have to change to meet the sustainability and green needs of the planet? And what does that imply for development organizations? In this eye-opening book, sustainable software advocates Anne Currie, Sarah Hsu, and Sara Bergman provide a unique overview...(169.14 zł najniższa cena z 30 dni)
177.65 zł
209.00 zł(-15%)
Dzieki opcji "Druk na żądanie" do sprzedaży wracają tytuły Grupy Helion, które cieszyły sie dużym zainteresowaniem, a których nakład został wyprzedany.
Dla naszych Czytelników wydrukowaliśmy dodatkową pulę egzemplarzy w technice druku cyfrowego.
Co powinieneś wiedzieć o usłudze "Druk na żądanie":
- usługa obejmuje tylko widoczną poniżej listę tytułów, którą na bieżąco aktualizujemy;
- cena książki może być wyższa od początkowej ceny detalicznej, co jest spowodowane kosztami druku cyfrowego (wyższymi niż koszty tradycyjnego druku offsetowego). Obowiązująca cena jest zawsze podawana na stronie WWW książki;
- zawartość książki wraz z dodatkami (płyta CD, DVD) odpowiada jej pierwotnemu wydaniu i jest w pełni komplementarna;
- usługa nie obejmuje książek w kolorze.
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.
Książka, którą chcesz zamówić pochodzi z końcówki nakładu. Oznacza to, że mogą się pojawić drobne defekty (otarcia, rysy, zagięcia).
Co powinieneś wiedzieć o usłudze "Końcówka nakładu":
- usługa obejmuje tylko książki oznaczone tagiem "Końcówka nakładu";
- wady o których mowa powyżej nie podlegają reklamacji;
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.
Książka drukowana
Oceny i opinie klientów: Customizing Chef Jon Cowie (0) Weryfikacja opinii następuję na podstawie historii zamówień na koncie Użytkownika umieszczającego opinię. Użytkownik mógł otrzymać punkty za opublikowanie opinii uprawniające do uzyskania rabatu w ramach Programu Punktowego.