Pro Puppet (69 page)

Read Pro Puppet Online

Authors: Jeffrey McCune James Turnbull

BOOK: Pro Puppet
13.19Mb size Format: txt, pdf, ePub

RPM-based distributions

installing Dashboard,
161

installing Foreman,
177

RRD files

specifying default location for,
237

RRD Ruby bindings

customizing RRD support,
237

installing,
236

rrddir directory,
237

rrdgraph report processor,
234
,
236

237

rrdinterval,
237

RRDTools

installing,
236

package names for,
236

rsync command

creating identical copy,
105

load balancing configuration,
99

Puppet CA worker configuration,
109

re-activating primary Puppet CA worker,
115

synchronizing hot standby Puppet CA,
113

Ruby

declaring classes and resources using,
189

embedding Ruby applications,
90

ENV variable,
243

external node classifier,
122

124

installing Puppet,
8

on Debian and Ubuntu,
9

on OpenSolaris,
9

on Red Hat,
8

on Windows,
10

installing Ruby bindings for RRD,
236

installing Ruby LDAP libraries,
127

SSL code bug,
12

writing and distributing custom facts,
241

writing custom facts,
243

Ruby Active Record library,
137
,
138

installing Rails using Gems,
139

Ruby DSL,
189
,
205

216

account information from ENC,
208

211

accounts module,
211

216

testing,
213

216

as subset of Puppet DSL,
205

declaring resources and variables in top scope,
205

declaring resources from data,
206

216

ENC script for,
206

motd_location module,
206
,
207

208

Puppet module using,
207

208

Run Stages feature, Puppet,
205

scope.lookupvar method,
208

testing,
208

Ruby IRB

writing custom functions,
261

Ruby on Rails

Dashboard,
159

installing,
160

running with Passenger,
167

environments,
164

Foreman,
176

installing Rails using gem,
139

Ruby rake command
see
rake command

RubyGems

installing cucumber-puppet,
217

installing Passenger using,
92

installing Puppet and Facter via,
9

installing Puppet Module using,
190

installing Ruby on Rails using,
139

RubyGems package manager

installing Red Hat prerequisites for Dashboard,
160

installing Ubuntu prerequisites for Dashboard,
161

runinterval option, puppet.conf file,
26

rvalues function type,
260

S

scaling Puppet,
89

118

hot standby,
112

115

HTTP load balancing,
97

107

load balancing multiple masters,
97

116

measuring performance,
116

118

Puppet CA load balancing configuration,
107

116

Puppet CA worker configuration,
108

112

re-activating primary Puppet CA worker,
115

116

running master with Apache and Passenger,
90

97

scaling stored configurations,
151

157

scope,
34

accounts Ruby DSL module,
212

class inheritance,
53

declaring resources and variables in top scope,
205

variable scoping,
33

35
,
48

scope.lookupvar method, Ruby DSL,
208
,
212

scripts
see
shell scripts

search command, Puppet Module,
191

security

configuring RabbitMQ,
271

Dashboard,
168

multiple security zones or data centers,
266

sed command,
105

selector matching

case-sensitivity of,
42

selector statement,
22

selectors

conditional syntax,
42

server
see
Puppet master

server option, agent command,
16

serveraliases parameter

Apache definition,
59

servers

building hosts with Puppet,
29

service class

apache,
57

mysql,
55

postfix,
51

puppet,
62

ssh,
39
,
40
,
46

48

setcode block, Facter

writing custom facts,
243

SetEnvIf statements,
102

sha1 function,
260

SHA512 function,
260

shell scripts

back-ending node classification script,
125

127

external node classifier in,
121

122

shells type

writing parsed file type and provider,
253

255

sign option, cert command,
17

site.pp file,
13

configuring environments,
66

configuring master,
13

declaring resources and variables in top scope,
205

extending,
19

manifests directory,
13

overriding name and location of,
13

slapd.conf configuration file,
128

sleep command

splay time, Puppet agents,
118

SLES (SUSE Linux Enterprise Server)

installing Puppet on,
11

Solaris

building hosts with Puppet,
29

installing Puppet on,
11

installing Puppet on OpenSolaris,
9

source attribute, file resource,
23
,
50

source code

installing Dashboard from,
163

installing Foreman from,
177

installing Puppet from,
10

sources, using external,
31

spaceship operator,
134
,
135

SQL statement

back-ending node classification script,
126

SSH

configuring,
44

creating module to manage,
38

40

installing OpenSSH package,
41

managing service,
46

testing agent,
86

ssh class,
40

ssh::config class,
39
,
40
,
44

46

ssh::hostkeys class,
143

ssh::install class,
39
,
40
,
41

44

ssh::knownhosts class,
144

ssh::params class,
42
,
43
,
44

ssh::service class,
39
,
40
,
46

48

ssh module

creating module to manage SSH,
39

including in nodes,
47

managing classes,
40

SSH public keys

developing change using branch,
75

public SSH host key,
143

145

ssh_service_config variable,
45

sshd_config files,
39

location in operating systems,
44

making changes to,
75

77

testing agent against,
77

sshd_config template,
76

sshkey resources

public SSH host key,
143
,
144

SSL

authentication,
90
,
94
,
95
,
97
,
101

configuring puppet,
11
,
12

load balancing configuration,
98

starting master,
14

verification,
90
,
93
,
95
,
102

SSL certificates

configuring Apache and Passenger,
93

connecting master and agent,
17

scaling SSL,
89

SSL connections

Foreman,
186

importance of accurate time,
18

load balancing multiple masters,
98
,
100

SSL files

overriding location of,
15

starting master,
14

SSLCARevocationFile parameter,
95

SSLCipherSuite parameter,
94

ssldir option,
15

SSLEngine parameter,
94

stale resources, expiring,
157

158

stand-alone mode,
3

statements function type,
260

status command, Git tool,
37

stomp gem, Ruby,
156

installing for Puppet queue,
156

installing MCollective on Enterprise Linux,
274

queue support for stored configurations,
152

Stomp protocol

ActiveMQ configuration,
152

configuring MCollective server,
275

configuring RabbitMQ,
270

installing ActiveMQ

on Debian,
155

on Enterprise Linux,
153

installing MCollective

on Debian and Ubuntu,
272

on Enterprise Linux,
274

installing RabbitMQ

on Debian,
269

on Enterprise Linux,
269
,
270

MCollective using,
266

store reports,
233
,
234

custom reporting,
237

stored configuration database server,
137

140

automating Nagios service checks,
148

installing MySQL server on Debian and Ubuntu,
139

installing MySQL server on Red Hat,
138

installing Ruby on Rails using gem,
139

MySQL,
137

public SSH host key,
143

145

stored configurations,
157

adding MySQL table index,
142

configuring master for,
140

142

declaring resources and exporting to all other nodes,
143

enabling thin stored configurations,
151

expiring stale resources,
157

exported resources,
137

140
,
143

installing ActiveMQ

on Debian systems,
154

156

on Enterprise Linux systems,
152

154

master queue configuration,
156

157

queue support for,
152

scaling,
151

157

stories, Cucumber Puppet tool,
218

describing catalog behavior,
218

221

writing,
218

221

storing node information externally,
119

131

External Node Classification,
119
,
120

127

LDAP,
119
,
127

131

Subversion (SVN),
24
,
37

creating Subversion provider,
250

tracking revisions,
38

writing Puppet type and provider,
247
,
250

sudo module

applying configuration,
25

creating,
21

24

init.pp file,
22

24

summary report

custom summary report,
238

support,
289

resources for system administrators,
291

syslogfacility option,
234

system administrators

resources for,
289

291

system inventory tool

installing correctly-named packages,
41

T

Other books

Fatal Storm by Rob Mundle
Legends by Robert Littell
The Stone Rose by Carol Townend
The Faraway Drums by Jon Cleary
Britt-Marie Was Here by Fredrik Backman
Ada Unraveled by Barbara Sullivan
House of Bathory by Linda Lafferty
Find You in the Dark by A. Meredith Walters - Find You in the Dark 01 - Find You in the Dark