ORPP logo
Image from Google Jackets

Learning Puppet : Build Intelligent Software Stacks with the Puppet Configuration Management Suite.

By: Material type: TextTextPublisher: Birmingham : Packt Publishing, Limited, 2015Copyright date: ©2015Edition: 1st edDescription: 1 online resource (304 pages)Content type:
  • text
Media type:
  • computer
Carrier type:
  • online resource
ISBN:
  • 9781784391249
Subject(s): Genre/Form: Additional physical formats: Print version:: Learning PuppetLOC classification:
  • QA76.76.C69 -- U63 2015eb
Online resources:
Contents:
Cover -- Copyright -- Credits -- About the Author -- About the Reviewers -- www.PacktPub.com -- Table of Contents -- Preface -- Chapter 1: Puppet Development in Isolation -- Puppet Manifests -- Downloading Oracle VirtualBox -- Downloading the Puppet Learning VM -- Importing the Puppet Learning VM into VirtualBox -- Virtual machine snapshots -- Snapshot of the virtual machine -- Puppet on command line -- Puppet version -- The open source Puppet -- The Puppet Enterprise edition -- Puppet resources -- Managing resources from the command line -- Puppet dry run -- Use Puppet to examine the current state of resources -- Puppet is run as a user root -- Puppet DSL and manifests -- Managing resources with the puppet apply command -- Creating Puppet manifests -- Idempotency -- Puppet command line versus Puppet manifests -- Managing files and directories with a file resource -- Puppet configuration -- Summary -- Chapter 2: Managing Packages in Puppet -- Restoring a snapshot -- Introducing VirtualBox Guest Additions -- Shared folders -- Host-only networking -- Configuring shared folders -- Configuring the host-only network interface -- Testing shared folders -- Using the file resource to configure network interface on the virtual machine -- Restart networking -- Creating the puppet-agent node -- Take a snapshot of the virtual machine -- Branch the virtual machine by creating a clone from the snapshot -- Purging package resources -- Summary -- Chapter 3: My First Puppet Module -- Introducing the Puppet module -- The Puppet module structure -- The Puppet module name format -- Generating a Puppet module -- A Puppet class -- Resources inside the Puppet class -- Rename the module directory -- Applying a Puppet class -- Installing a module from Puppet Forge -- Installing Apache HTTP Server -- Testing the Apache HTTP Server.
Customizing a web server with facts and templates -- Puppet templates -- Creating a template file -- Creating a file resource for the template file -- Facts by the facter -- Facter on the command line -- Accessing facts from the Puppet template -- Accessing facts from Puppet manifests -- A simple for loop in the Puppet template -- Testing repeatable deployment -- Shut down the virtual machine -- Revert the machine state to the previous snapshot -- Reduce memory allocation for the virtual machine -- Create a linked virtual machine clone from the snapshot -- Power on both the virtual machines and apply the webapp class -- Summary -- Chapter 4: Monitoring Your Web Server -- Monitoring the architecture -- Creating a Nagios module for the client and server -- A recap on the state of virtual machines and snapshots -- Cloning the virtual machine for Nagios module development -- Generating the Nagios module -- Puppetize the Nagios Server installation -- Configuring the Nagios Server web interface -- Applying the nagios::server class -- Verifying Nagios Server installation -- Creating nagios::client class -- Testing the nagios::client class -- Enable monitoring on the web server -- Configuring the web server host and checks on the Nagios Server -- Creating a Nagios host -- Summary -- Chapter 5: Load Balancing the Cluster -- The parameterized class -- Calling a class with parameters -- Creating a parameterized class -- The defined type -- Calling the defined type -- Creating the defined type -- The load balancing architecture -- Building the load balancer node -- Cloning a new virtual machine for the load balancer -- Reducing the virtual machine memory allocation -- Creating a snapshot and starting the virtual machine -- Creating a load balancer module -- Installing the load balancer using class parameters -- Deploying the load balancer.
Verifying the load balancer deployment -- Adding parameters to the loadbalancer class -- Load balancing web server nodes -- Enabling load balancing on the loadbalancer class -- Applying and testing the load balancer -- Launching the second web server node -- Summary -- Chapter 6: Scaling Up the Puppet Environment -- Puppet Master -- The Puppet Master components -- Certificate Authority for authorisation -- Mcollective for orchestration -- PuppetDB for exported resources, PuppetDB queries, and reporting -- Connecting Puppet Agent with Puppet Master -- Creating the bootstrap module for Puppet Master and Puppet Agent -- Configuring static IP address on Puppet Master -- Defining resource processing order with the arrow notation -- Creating class bootstrap::master -- Referencing an out-of-scope variable from Puppet template -- Conditional statements -- The if statement -- Creating site.pp file for node classification -- Applying bootstrap class on Puppet Master -- A first look at the Puppet Enterprise Console -- Bypassing the certificate warning message -- Logging on to the Puppet Enterprise Console -- 503 Service Temporarily Unavailable? -- Creating a node group -- Bootstrapping Puppet Agent -- Applying the bootstrap::agent class via the bootstrap class -- Signing the certificate on the Puppet Enterprise Console -- Adding nodes to the node group -- Deploying the Web Server node against Puppet Master -- Bootstrapping Load Balancer and Nagios Server nodes -- Summary -- Chapter 7: Making the Configuration Dynamic -- An introduction to PuppetDB and exported resources -- Exported resources -- Exporting and importing resources -- Exporting resources -- Importing resources -- Testing exported resources -- Purging resources -- Purging resources with the nagios::purge class -- The PuppetDB query -- Installing the dalen-puppetdbquery module.
Adding puppetdbquery into the RUBYLIB environment variable -- Examples of Puppet query commands on the command line -- Querying certname with action nodes -- Querying facts with action facts -- Using the puppetdbquery functions -- The query_nodes function -- The query_facts function -- Creating a custom type for testing PuppetDB queries -- Using the PuppetDB query to configure the load balancer -- Testing the PuppetDB query manifests on the load balancer node -- Summary -- Chapter 8 : Extending Puppet -- Puppet functions -- Creating a Puppet module for custom functions -- Writing a function -- Test-driving the Puppet function -- Testing a Puppet function on the Puppet Agent node -- Testing a Puppet function against Puppet Master -- Distributing SSH keys with a Puppet function -- Creating a public and private key pair -- Writing a Puppet function to distribute a public key -- Calling the custom function from the file resource -- Testing the password-less SSH session -- Creating custom facts -- External facts -- Creating facts that return structured data -- Writing custom facts in Ruby -- Creating a custom fact to extract certname -- Distributing certname records across the cluster -- Summary -- Chapter 9: The Puppet Enterprise Console -- Role-based Access Control -- Creating a user and assigning a role -- Creating a user account -- Enabling login for a user account -- Assigning a role to the account -- Creating a node group -- Signing the Puppet agent's certificate -- Adding a node to the node group -- Classifying nodes in the Puppet Enterprise console -- Moving the site.pp file temporarily out of the modulepath -- Using Live Management -- Accessing reports via the Puppet Enterprise console -- Searching nodes with Inventory Search -- Summary -- Chapter 10 : Troubleshooting Puppet -- Prerequisites -- Troubleshooting node definition issues.
Making the node definition file and ENC work concurrently -- Diagnosing duplicate declaration errors -- Using the defined() function to avoid duplicate declarations -- Using the name variable in custom types -- Getting around dependency cycle errors -- Troubleshooting missing resources -- Diagnosing template errors -- Diagnosing missing source file errors -- Rectifying certificate errors -- Listing certificates on the Puppet Master -- Removing Puppet certificate on Puppet Master -- Regenerating Certificate Signing Request -- Signing a certificate on the command line -- Finding help online -- Summary -- Index.
Tags from this library: No tags from this library for this title. Log in to add tags.
Star ratings
    Average rating: 0.0 (0 votes)
No physical items for this record

Cover -- Copyright -- Credits -- About the Author -- About the Reviewers -- www.PacktPub.com -- Table of Contents -- Preface -- Chapter 1: Puppet Development in Isolation -- Puppet Manifests -- Downloading Oracle VirtualBox -- Downloading the Puppet Learning VM -- Importing the Puppet Learning VM into VirtualBox -- Virtual machine snapshots -- Snapshot of the virtual machine -- Puppet on command line -- Puppet version -- The open source Puppet -- The Puppet Enterprise edition -- Puppet resources -- Managing resources from the command line -- Puppet dry run -- Use Puppet to examine the current state of resources -- Puppet is run as a user root -- Puppet DSL and manifests -- Managing resources with the puppet apply command -- Creating Puppet manifests -- Idempotency -- Puppet command line versus Puppet manifests -- Managing files and directories with a file resource -- Puppet configuration -- Summary -- Chapter 2: Managing Packages in Puppet -- Restoring a snapshot -- Introducing VirtualBox Guest Additions -- Shared folders -- Host-only networking -- Configuring shared folders -- Configuring the host-only network interface -- Testing shared folders -- Using the file resource to configure network interface on the virtual machine -- Restart networking -- Creating the puppet-agent node -- Take a snapshot of the virtual machine -- Branch the virtual machine by creating a clone from the snapshot -- Purging package resources -- Summary -- Chapter 3: My First Puppet Module -- Introducing the Puppet module -- The Puppet module structure -- The Puppet module name format -- Generating a Puppet module -- A Puppet class -- Resources inside the Puppet class -- Rename the module directory -- Applying a Puppet class -- Installing a module from Puppet Forge -- Installing Apache HTTP Server -- Testing the Apache HTTP Server.

Customizing a web server with facts and templates -- Puppet templates -- Creating a template file -- Creating a file resource for the template file -- Facts by the facter -- Facter on the command line -- Accessing facts from the Puppet template -- Accessing facts from Puppet manifests -- A simple for loop in the Puppet template -- Testing repeatable deployment -- Shut down the virtual machine -- Revert the machine state to the previous snapshot -- Reduce memory allocation for the virtual machine -- Create a linked virtual machine clone from the snapshot -- Power on both the virtual machines and apply the webapp class -- Summary -- Chapter 4: Monitoring Your Web Server -- Monitoring the architecture -- Creating a Nagios module for the client and server -- A recap on the state of virtual machines and snapshots -- Cloning the virtual machine for Nagios module development -- Generating the Nagios module -- Puppetize the Nagios Server installation -- Configuring the Nagios Server web interface -- Applying the nagios::server class -- Verifying Nagios Server installation -- Creating nagios::client class -- Testing the nagios::client class -- Enable monitoring on the web server -- Configuring the web server host and checks on the Nagios Server -- Creating a Nagios host -- Summary -- Chapter 5: Load Balancing the Cluster -- The parameterized class -- Calling a class with parameters -- Creating a parameterized class -- The defined type -- Calling the defined type -- Creating the defined type -- The load balancing architecture -- Building the load balancer node -- Cloning a new virtual machine for the load balancer -- Reducing the virtual machine memory allocation -- Creating a snapshot and starting the virtual machine -- Creating a load balancer module -- Installing the load balancer using class parameters -- Deploying the load balancer.

Verifying the load balancer deployment -- Adding parameters to the loadbalancer class -- Load balancing web server nodes -- Enabling load balancing on the loadbalancer class -- Applying and testing the load balancer -- Launching the second web server node -- Summary -- Chapter 6: Scaling Up the Puppet Environment -- Puppet Master -- The Puppet Master components -- Certificate Authority for authorisation -- Mcollective for orchestration -- PuppetDB for exported resources, PuppetDB queries, and reporting -- Connecting Puppet Agent with Puppet Master -- Creating the bootstrap module for Puppet Master and Puppet Agent -- Configuring static IP address on Puppet Master -- Defining resource processing order with the arrow notation -- Creating class bootstrap::master -- Referencing an out-of-scope variable from Puppet template -- Conditional statements -- The if statement -- Creating site.pp file for node classification -- Applying bootstrap class on Puppet Master -- A first look at the Puppet Enterprise Console -- Bypassing the certificate warning message -- Logging on to the Puppet Enterprise Console -- 503 Service Temporarily Unavailable? -- Creating a node group -- Bootstrapping Puppet Agent -- Applying the bootstrap::agent class via the bootstrap class -- Signing the certificate on the Puppet Enterprise Console -- Adding nodes to the node group -- Deploying the Web Server node against Puppet Master -- Bootstrapping Load Balancer and Nagios Server nodes -- Summary -- Chapter 7: Making the Configuration Dynamic -- An introduction to PuppetDB and exported resources -- Exported resources -- Exporting and importing resources -- Exporting resources -- Importing resources -- Testing exported resources -- Purging resources -- Purging resources with the nagios::purge class -- The PuppetDB query -- Installing the dalen-puppetdbquery module.

Adding puppetdbquery into the RUBYLIB environment variable -- Examples of Puppet query commands on the command line -- Querying certname with action nodes -- Querying facts with action facts -- Using the puppetdbquery functions -- The query_nodes function -- The query_facts function -- Creating a custom type for testing PuppetDB queries -- Using the PuppetDB query to configure the load balancer -- Testing the PuppetDB query manifests on the load balancer node -- Summary -- Chapter 8 : Extending Puppet -- Puppet functions -- Creating a Puppet module for custom functions -- Writing a function -- Test-driving the Puppet function -- Testing a Puppet function on the Puppet Agent node -- Testing a Puppet function against Puppet Master -- Distributing SSH keys with a Puppet function -- Creating a public and private key pair -- Writing a Puppet function to distribute a public key -- Calling the custom function from the file resource -- Testing the password-less SSH session -- Creating custom facts -- External facts -- Creating facts that return structured data -- Writing custom facts in Ruby -- Creating a custom fact to extract certname -- Distributing certname records across the cluster -- Summary -- Chapter 9: The Puppet Enterprise Console -- Role-based Access Control -- Creating a user and assigning a role -- Creating a user account -- Enabling login for a user account -- Assigning a role to the account -- Creating a node group -- Signing the Puppet agent's certificate -- Adding a node to the node group -- Classifying nodes in the Puppet Enterprise console -- Moving the site.pp file temporarily out of the modulepath -- Using Live Management -- Accessing reports via the Puppet Enterprise console -- Searching nodes with Inventory Search -- Summary -- Chapter 10 : Troubleshooting Puppet -- Prerequisites -- Troubleshooting node definition issues.

Making the node definition file and ENC work concurrently -- Diagnosing duplicate declaration errors -- Using the defined() function to avoid duplicate declarations -- Using the name variable in custom types -- Getting around dependency cycle errors -- Troubleshooting missing resources -- Diagnosing template errors -- Diagnosing missing source file errors -- Rectifying certificate errors -- Listing certificates on the Puppet Master -- Removing Puppet certificate on Puppet Master -- Regenerating Certificate Signing Request -- Signing a certificate on the command line -- Finding help online -- Summary -- Index.

Description based on publisher supplied metadata and other sources.

Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2024. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.

There are no comments on this title.

to post a comment.

© 2024 Resource Centre. All rights reserved.