Puppet 5 beginner's guide : go from newbie to pro with Puppet 5 /
Puppet 5 Beginner's Guide, Third Edition is a practical guide that gets you up and running with the very latest features of Puppet 5. About This Book Develop skills to run Puppet 5 on single or multiple servers without hiccups Use Puppet to create and manage cloud resources such as Amazon EC2 i...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham, UK :
Packt Publishing,
[2017]
|
Edición: | Third edition. |
Temas: | |
Acceso en línea: | Texto completo Texto completo |
Tabla de Contenidos:
- Cover
- Copyright
- Credits
- About the Author
- Acknowledgments
- About the Reviewer
- www.PacktPub.com
- Customer Feedback
- Table of Contents
- Preface
- Chapter 1: Getting started with Puppet
- Why do we need Puppet anyway?
- Keeping the configuration synchronized
- Repeating changes across many servers
- Self-updating documentation
- Version control and history
- Why not just write shell scripts?
- Why not just use containers?
- Why not just use serverless?
- Configuration management tools
- What is Puppet?
- Resources and attributesPuppet architectures
- Getting ready for Puppet
- Installing Git and downloading the repo
- Installing VirtualBox and Vagrant
- Running your Vagrant VM
- Troubleshooting Vagrant
- Summary
- Chapter 2: Creating your first manifests
- Hello, Puppet â#x80;#x93; your first Puppet manifest
- Understanding the code
- Modifying existing files
- Dry-running Puppet
- How Puppet applies the manifest
- Creating a file of your own
- Managing packages
- How Puppet applies the manifest
- Exercise
- Querying resources with the puppet resourceServices
- Getting help on resources with puppet describe
- The package-file-service pattern
- Notifying a linked resource
- Resource ordering with require
- Summary
- Chapter 3: Managing your Puppet code with Git
- What is version control?
- Tracking changes
- Sharing code
- Creating a Git repo
- Making your first commit
- How often should I commit?
- Branching
- Distributing Puppet manifests
- Creating a GitHub account and project
- Pushing your repo to GitHub
- Cloning the repo
- Fetching and applying changes automaticallyWriting a manifest to set up regular Puppet runs
- Applying the run-puppet manifest
- The run-puppet script
- Testing automatic Puppet runs
- Managing multiple nodes
- Summary
- Chapter 4: Understanding Puppet resources
- Files
- The path attribute
- Managing whole files
- Ownership
- Permissions
- Directories
- Trees of files
- Symbolic links
- Packages
- Uninstalling packages
- Installing specific versions
- Installing the latest version
- Installing Ruby gems
- Installing gems in Puppet's contextUsing ensure_packages
- Services
- The hasstatus attribute
- The pattern attribute
- The hasrestart and restart attributes
- Users
- Creating users
- The user resource
- The group resource
- Managing SSH keys
- Removing users
- Cron resources
- Attributes of the cron resource
- Randomizing cron jobs
- Removing cron jobs
- Exec resources
- Automating manual interaction
- Attributes of the exec resource
- The user attribute
- The onlyif and unless attributes
- The refreshonly attribute