Puppet Book Errata

Version 4 (Nathan Rich, 09/15/2010 10:31 pm)

1 1
# Pulling Strings with Puppet - Errata
2 1
3 1
Please post errata for "Pulling Strings with Puppet - System
4 1
Administration Made Easy" by James Turnbull.
5 1
6 1
Please post errata by chapter with page references. Errata should
7 1
also be submitted at the
8 1
[Apress site](http://www.apress.com/book/errata/968).
9 1
10 1
# General Notes
11 1
12 1
*Where you see a \~CCC - this is a code continuation character that means the line is broken and continued on the next line.*
13 1
Should all be fixed 23/2.
14 1
15 1
# Cover Page
16 1
17 1
*The front cover states 192 pages, but there are only 169.* - This
18 1
is a print versus PDF issue. They are different page counts.
19 1
20 1
# Chapter 1
21 1
22 1
# Chapter 2
23 1
24 1
*Page 17, David Lutterkort, not David Lutter.* Fixed 23/2 -
25 1
apologies David.
26 1
27 1
*Page 25, After this paragraph*
28 1
29 3 Nathan Rich
"Puppet detects if you have any nodes defined. If you don’t have
30 1
any defined, as we have here, Puppet turns off node designation.
31 1
With node designation turned off, all configuration resources
32 3 Nathan Rich
(excluding configuration in classes and definitions, which we’ll
33 1
talk about in Chapter 3) defined will be applied to all nodes that
34 3 Nathan Rich
connect to the master. As we don’t have any nodes, nor any
35 3 Nathan Rich
substantive configuration, it’s easiest to turn off nodes until
36 3 Nathan Rich
we’re ready to define our first node. We’ll look at node definition
37 1
in Chapter 3."
38 1
39 1
There should be this note:
40 1
41 1
NOTE In versions older than 0.24.x you will also need to add the
42 1
--nonodes option to disable node definition. This option is
43 1
deprecated in 0.24 and later.
44 1
45 1
*Page 25, After this paragraph*
46 1
47 3 Nathan Rich
"This time we’ve started puppetmasterd with the --verbose and
48 1
--no-daemonize options. The --verbose option turns on verbose
49 1
logging, and the --no-daemonize option forces the master daemon to
50 1
run in the foreground. This mode is ideal for troubleshooting your
51 1
master daemon."
52 1
53 1
There should be this note:
54 1
55 1
NOTE The --no-daemonize option was introduced in version 0.24 of
56 1
Puppet. Prior to this the --verbose option alone causes the
57 1
puppetmasterd not to daemonize.
58 1
59 1
# Chapter 3
60 1
61 1
*Page 59, Listing 3-11, Conditional Selectors, "name" in the selector should be "$name" as used in later examples.*
62 1
- Example is correct.
63 1
64 1
*Page 60, Listing 3-13, Case Statements, each conditional statement is missing a closing brace.*
65 1
Fixed 23/2
66 1
67 1
*Page 61, Example Case statement , "true" => { include class } should in-fact be "true": { include class } as according to the current language guide.*
68 1
69 1
*Page 67, Listing 3-17, Node Inheritance and Variable Scope, "node1" should be "webserver"*
70 1
Fixed 20/5
71 1
72 1
*Page 68, Listing 3-18, Node and Variable Scoping Workaround, "base\_node" should be "basenode"*
73 1
Fixed 20/5
74 1
75 1
# Chapter 4
76 1
77 1
*Page 105, Listing 4-11*, The listing has "mysql\_user" and
78 1
"mysql\_group". According to page 102 and the wiki page
79 1
"PuppetBestPractice#managing-users", these should be "user\_mysql"
80 1
and "group\_mysql", prefixed with user / group.
81 3 Nathan Rich
82 4 Nathan Rich
*Page 111, template example: reads `template("mysql/my.cnf.erb"}` when it should read `template("mysql/my.cnf.erb")`*
83 1
84 1
*Page 116, Listing 4-19, The apache Module's init.pp, the paragraph following the listing says that the service statement includes a "hasstatus" attribute, when it isn't present.*
85 1
Fixed 23/2.
86 1
87 1
# Chapter 5
88 1
89 1
# Chapter 6
90 1
91 1
# Chapter 7