000 09770nam a22004693i 4500
001 EBC4191320
003 MiAaPQ
005 20240729130143.0
006 m o d |
007 cr cnu||||||||
008 240724s2015 xx o ||||0 eng d
020 _a9781784391249
_q(electronic bk.)
020 _z9781784399832
035 _a(MiAaPQ)EBC4191320
035 _a(Au-PeEL)EBL4191320
035 _a(CaPaEBR)ebr11135371
035 _a(CaONFJC)MIL826995
035 _a(OCoLC)935250518
040 _aMiAaPQ
_beng
_erda
_epn
_cMiAaPQ
_dMiAaPQ
050 4 _aQA76.76.C69 -- U63 2015eb
100 1 _aHeinonen, Jussi.
245 1 0 _aLearning Puppet :
_bBuild Intelligent Software Stacks with the Puppet Configuration Management Suite.
250 _a1st ed.
264 1 _aBirmingham :
_bPackt Publishing, Limited,
_c2015.
264 4 _c©2015.
300 _a1 online resource (304 pages)
336 _atext
_btxt
_2rdacontent
337 _acomputer
_bc
_2rdamedia
338 _aonline resource
_bcr
_2rdacarrier
505 0 _aCover -- 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.
505 8 _aCustomizing 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.
505 8 _aVerifying 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.
505 8 _aAdding 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.
505 8 _aMaking 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.
588 _aDescription based on publisher supplied metadata and other sources.
590 _aElectronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2024. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
650 0 _aSoftware configuration management.
655 4 _aElectronic books.
776 0 8 _iPrint version:
_aHeinonen, Jussi
_tLearning Puppet
_dBirmingham : Packt Publishing, Limited,c2015
_z9781784399832
797 2 _aProQuest (Firm)
856 4 0 _uhttps://ebookcentral.proquest.com/lib/orpp/detail.action?docID=4191320
_zClick to View
999 _c103404
_d103404