Szczegóły ebooka

Puppet 3 Cookbook. An essential book if you have responsibility for servers. Real-world examples and code will give you Puppet expertise, allowing more control over servers, cloud computing, and desktops. A time-saving, career-enhancing tutorial - Second Edition

Puppet 3 Cookbook. An essential book if you have responsibility for servers. Real-world examples and code will give you Puppet expertise, allowing more control over servers, cloud computing, and desktops. A time-saving, career-enhancing tutorial - Second Edition

John Arundel

Ebook
A revolution is happening in web operations. Configuration management tools can build servers in seconds, and automate your entire network. Tools like Puppet are essential to taking full advantage of the power of cloud computing, and building reliable, scalable, secure, high-performance systems. More and more systems administration and IT jobs require some knowledge of configuration management, and specifically Puppet.Puppet 3 Cookbook takes you beyond the basics to explore the full power of Puppet, showing you in detail how to tackle a variety of real-world problems and applications. At every step it shows you exactly what commands you need to type, and includes full code samples for every recipe.The book takes the reader from a basic knowledge of Puppet to a complete and expert understanding of Puppet's latest and most advanced features, community best practices, writing great manifests, scaling and performance, and extending Puppet by adding your own providers and resources. It starts with guidance on how to set up and expand your Puppet infrastructure, then progresses through detailed information on the language and features, external tools, reporting, monitoring, and troubleshooting, and concludes with many specific recipes for managing popular applications.The book includes real examples from production systems and techniques that are in use in some of the world's largest Puppet installations, including a distributed Puppet architecture based on the Git version control system. You'll be introduced to powerful tools that work with Puppet such as Hiera. The book also explains managing Ruby applications and MySQL databases, building web servers, load balancers, high-availability systems with Heartbeat, and many other state-of-the-art techniques
  • Puppet 3 Cookbook
    • Table of Contents
    • Puppet 3 Cookbook
    • Credits
    • About the Author
    • About the Reviewers
    • www.PacktPub.com
      • Support files, eBooks, discount offers and more
        • Why Subscribe?
        • Free Access for Packt account holders
    • Preface
      • What this book covers
      • What you need for this book
      • Who this book is for
      • Conventions
      • Reader feedback
      • Customer support
        • Downloading the example code
        • Errata
        • Piracy
        • Questions
    • 1. Puppet Infrastructure
      • Introduction
        • Linux distributions
        • Puppet versions
      • Installing Puppet
        • Getting ready...
        • How to do it...
      • Creating a manifest
        • How to do it...
      • Managing your manifests with Git
        • Getting ready...
        • How to do it...
        • How it works...
        • Theres more...
      • Creating a decentralized Puppet architecture
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Writing a papply script
        • How to do it...
        • How it works...
      • Running Puppet from cron
        • Getting ready...
        • How to do it...
        • How it works...
        • There's more...
      • Deploying changes with Rake
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Bootstrapping Puppet with Rake
        • Getting ready...
        • How to do it...
        • How it works...
      • Automatic syntax checking with Git hooks
        • How to do it
        • How it works
    • 2. Puppet Language and Style
      • Introduction
      • Using community Puppet style
        • How to do it
          • Indentation
          • Quoting
          • Variables
          • Parameters
          • Symlinks
        • There's more
      • Checking your manifests with puppet-lint
        • Getting ready
        • How to do it...
        • There's more...
        • See also
      • Using modules
        • How to do it
        • How it works
        • There's more
          • Templates
          • Facts, functions, types, and providers
          • Autogenerating module layout
          • Third party modules
          • Module organization
        • See also
      • Using standard naming conventions
        • How to do it
        • There's more
      • Using inline templates
        • How to do it
        • How it works
        • There's more...
        • See also
      • Iterating over multiple items
        • How to do it
        • How it works
        • There's more
          • Using hashes
          • Creating arrays with the split function
      • Writing powerful conditional statements
        • How to do it
        • How it works
        • There's more
          • Elsif branches
          • Comparisons
          • Combining expressions
        • See also
      • Using regular expressions in if statements
        • How to do it
        • How it works
        • There's more
          • Capturing patterns
          • Regular expression syntax
        • See also
      • Using selectors and case statements
        • How to do it
        • How it works
          • Selector
          • Case statement
        • There's more
          • Regular expressions
          • Defaults
      • Using the in operator
        • How to do it
        • There's more
      • Using regular expression substitutions
        • How to do it
        • How it works
        • There's more
        • See also
    • 3. Writing Better Manifests
      • Introduction
      • Using arrays of resources
        • How to do it
        • How it works
        • See also
      • Using definitions
        • How to do it
        • How it works
        • There's more
        • See also
      • Using dependencies
        • How to do it
        • How it works
        • There's more
      • Using tags
        • How to do it...
        • There's more
      • Using run stages
        • How to do it
        • How it works
        • There's more
        • See also
      • Using node inheritance
        • How to do it
        • How it works
        • There's more
        • See also
      • Passing parameters to classes
        • How to do it
        • How it works
        • There's more
        • See also
      • Using class inheritance and overriding
        • How to do it
        • How it works
        • There's more
          • Removing inherited attributes
          • Adding extra values using +>
          • Disabling resources
        • See also
      • Writing reusable, cross-platform manifests
        • How to do it
        • How it works...
        • There's more
        • See also
      • Getting information about the environment
        • How to do it
        • How it works
        • There's more
        • See also
      • Importing dynamic information
        • Getting ready
        • How to do it
        • How it works
        • There's more
        • See also
      • Passing arguments to shell commands
        • How to do it
        • How it works
    • 4. Working with Files and Packages
      • Introduction
      • Making quick edits to config files
        • How to do it
        • How it works
        • There's more
      • Using Augeas to automatically edit config files
        • How to do it
        • How it works
        • There's more
      • Building config files using snippets
        • How to do it
        • How it works
        • There's more
        • See also
      • Using ERB templates
        • How to do it
        • How it works
        • There's more
        • See also
      • Using array iteration in templates
        • How to do it
        • How it works
        • There's more
        • See also
      • Using GnuPG to encrypt secrets
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
        • See also
      • Installing packages from a third-party repository
        • How to do it
        • How it works
        • There's more...
        • See also
      • Building packages automatically from source
        • How to do it
        • How it works
        • There's more
        • See also
      • Comparing package versions
        • How to do it
        • How it works
    • 5. Users and Virtual Resources
      • Introduction
      • Using virtual resources
        • How to do it
        • How it works
        • There's more
      • Managing users with virtual resources
        • How to do it
        • How it works
        • There's more...
        • See also
      • Managing users' SSH access
        • How to do it
        • How it works
        • There's more
      • Managing users' customization files
        • How to do it
        • How it works
        • See also
      • Efficiently distributing cron jobs
        • How to do it
        • How it works
        • There's more
        • See also
      • Using schedules to limit when resources can be applied
        • How to do it
        • How it works
        • There's more
      • Using host resources
        • How to do it
        • How it works...
        • There's more...
      • Using multiple file sources
        • How to do it
        • How it works
        • There's more...
        • See also
      • Distributing directory trees
        • How to do it
        • How it works
        • There's more
      • Cleaning up old files
        • How to do it
        • How it works
        • There's more
      • Auditing resources
        • How to do it
        • How it works
        • There's more
        • See also
      • Temporarily disabling resources
        • How to do it
        • How it works
    • 6. Applications
      • Introduction
      • Managing Apache servers
        • How to do it...
        • There's more...
      • Creating Apache virtual hosts
        • How to do it
        • How it works
        • There's more
          • Custom domains and docroots
          • Modifying all sites
        • See also
      • Creating Nginx virtual hosts
        • How to do it
        • How it works
        • There's more
      • Managing MySQL
        • How to do it
        • How it works
        • There's more...
          • Creating MySQL databases
      • Managing Ruby
        • How to do it...
        • How it works...
          • ruby-build
          • rbenv
        • There's more...
    • 7. Servers and Cloud Infrastructure
      • Introduction
      • Building high-availability services using Heartbeat
        • Getting ready...
        • How to do it
        • How it works
        • There's more
      • Managing NFS servers and file shares
        • How to do it
        • How it works
      • Using HAProxy to load-balance multiple web servers
        • How to do it
        • How it works
        • There's more
      • Managing firewalls with iptables
        • Getting ready
        • How to do it
        • How it works
        • There's more
      • Managing EC2 instances
        • Getting ready
        • How to do it
        • How it works
        • There's more...
      • Managing virtual machines with Vagrant
        • Getting ready
        • How to do it...
        • How it works
        • There's more
    • 8. External Tools and the Puppet Ecosystem
      • Introduction
      • Creating custom facts
        • How to do it
        • How it works...
        • There's more...
        • See also
      • Adding external facts
        • Getting ready...
        • How to do it...
        • How it works...
        • There's more...
          • Debugging external facts
          • Using external facts in Puppet
        • See also
      • Setting facts as environment variables
        • How to do it...
      • Importing configuration data with Hiera
        • Getting ready
        • How to do it
        • How it works
        • There's more
          • Setting node-specific data with Hiera
          • Looking up data with Hiera
        • See also
      • Storing secret data with hiera-gpg
        • Getting ready...
        • How to do it...
        • How it works...
        • There's more...
        • See also
      • Generating manifests with puppet resource
        • How to do it
        • There's more
      • Generating manifests with other tools
        • Getting ready...
        • How to do it...
        • There's more...
          • Playing with Pysa
          • Conclusion
      • Testing your manifests with rspec-puppet
        • Getting ready...
        • How to do it...
        • How it works...
        • There's more...
        • See also
      • Using public modules
        • How to do it
        • How it works
        • There's more
      • Using an external node classifier
        • Getting ready...
        • How to do it
        • How it works
        • There's more
        • See also
      • Creating your own resource types
        • How to do it
        • How it works
        • There's more
          • Documentation
          • Validation
      • Creating your own providers
        • How to do it
        • How it works
        • There's more
      • Creating your own functions
        • How to do it...
        • How it works...
        • There's more...
    • 9. Monitoring, Reporting, and Troubleshooting
      • Introduction
      • Doing a dry run
        • How to do it
        • How it works
        • There's more
        • See also
      • Logging command output
        • How to do it
        • How it works
        • There's more
      • Logging debug messages
        • How to do it
        • How it works
        • There's more
          • Printing out variable values
          • Checking when a resource is applied
      • Generating reports
        • How to do it
        • How it works
        • There's more
        • See also
      • Producing automatic HTML documentation
        • How to do it
        • How it works
        • There's more
        • See also
      • Drawing dependency graphs
        • Getting ready
        • How to do it
        • How it works
        • There's more
        • See also
      • Understanding Puppet errors
        • How to do it
        • See also
      • Inspecting configuration settings
        • How to do it
        • How it works
        • See also
    • Index
  • Tytuł: Puppet 3 Cookbook. An essential book if you have responsibility for servers. Real-world examples and code will give you Puppet expertise, allowing more control over servers, cloud computing, and desktops. A time-saving, career-enhancing tutorial - Second Edition
  • Autor: John Arundel
  • Tytuł oryginału: Puppet 3 Cookbook. An essential book if you have responsibility for servers. Real-world examples and code will give you Puppet expertise, allowing more control over servers, cloud computing, and desktops. A time-saving, career-enhancing tutorial - Second Edition
  • ISBN: 9781782169512, 9781782169512
  • Data wydania: 2013-08-26
  • Format: Ebook
  • Identyfikator pozycji: e_3atr
  • Wydawca: Packt Publishing