Pulling Strings with Puppet: Configuration Management Made by James Turnbull

By James Turnbull

Efficient procedure directors recognize their luck hinges upon having the ability to practice usually tedious projects with rigor and punctuality. Such metrics are frequently accomplished merely by way of instituting a substantial measure of automation, whatever that has turn into much more the most important because it environments proceed to scale either when it comes to dimension and complexity. some of the most robust procedure management instruments to be published is Puppet, an answer in a position to automating approximately each point of a method administrator's task, from person administration, to software program deploy, to even configuring server companies comparable to FTP and LDAP.

Pulling Strings with Puppet: Configuration administration Made effortless is the 1st booklet to introduce the robust Puppet procedure management device. writer James Turnbull will consultant you thru Puppet's key good points, displaying you the way to put in and configure the software program, create automatic Puppet initiatives, often called recipes, or even create reporting suggestions and expand Puppet additional for your personal wishes. an advantage bankruptcy is integrated protecting the Facter library, which makes it a breeze to automate the retrieval of server configuration information resembling IP and MAC addresses.

Show description

Read Online or Download Pulling Strings with Puppet: Configuration Management Made Easy PDF

Best system administration books

Java Performance and Scalability: Server-Side Programming Techniques

This e-book was once written with one objective in brain: to supply Java programmers with the services had to construct effective, scalable Java code. the writer stocks his event in server-side functionality tuning via measured functionality checks, referred to as optimizations. each one optimization discusses concepts to enhance the functionality and scalability of your code.

Deploying Microsoft Forefront Protection 2010 for Exchange Server (It Professional Series)

Get concentrated, real-world information for making plans and imposing leading edge safeguard for alternate Server--and aid guard firm electronic mail from viruses, unsolicited mail, phishing, and coverage violations. Guided through key participants of the Microsoft leading edge workforce, you will delve into process elements, positive aspects, and services, and step via crucial making plans and layout issues.

Additional info for Pulling Strings with Puppet: Configuration Management Made Easy

Sample text

User-supplied attribute values should always be in double quotes. Note Another reason to always quote resource titles and the values of user-supplied attributes is that Puppet has a number of reserved words that are used as part of the syntax, such as true, false, class, define, inherit, and so on. If you need to use one of these words in a title or attribute value, you must quote them. Resource Style When a resource has only one attribute, it can be declared on a single line as you can see here: file { "/etc/group": owner => "root" } Turnbull Speaking Puppet 46 You can see that we’ve also dropped the trailing comma from the attribute.

I recommend you regularly check the Puppet web site and the documentation for updates. Speaking Puppet 42 Defining Configuration Resources The basic configuration declaration in Puppet is called a resource. Let’s take another look at the contents of the manifest file we created in Chapter 2. You can see it repeated in Listing 3-1. Listing 3-1. Our First Resource file { "/etc/passwd": owner => "root", group => "root", mode => 644, } Listing 3-1 is a simple example of a Puppet configuration resource.

I recommend naming both user and group puppet as this is the default Puppet expects. So on a Red Hat host you would create them like so: # groupadd puppet # useradd –M –g puppet puppet Starting the Puppet Master If we’ve got a user and group to run the Puppet master server, we can start it using the puppetmasterd binary. pp, must exist. A manifest is Puppet’s term for a Turnbull Installing and Running Puppet 24 text document that defines a particular configuration or configurations. These manifests are then compiled and applied to a Puppet node to set the desired configuration on the node.

Download PDF sample

Rated 4.74 of 5 – based on 25 votes