Pro Puppet (67 page)

Read Pro Puppet Online

Authors: Jeffrey McCune James Turnbull

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

mysql command line utility,
142

packages

configuring agent,
16

installing correctly-named packages,
41

installing Puppet,
8

installing/uninstalling,
4

managing,
4

parameterized class feature

managing platform-specific resources,
196

params class

moving conditional checks to separate class,
42

puppet,
61

ssh,
42
,
43
,
44

parentnode attribute

configuring LDAP in Puppet,
130

parsed file type

writing parsed file type and provider,
253

255

parseonly option, puppet command,
80

Passenger,
90

configuring Apache and,
93

95

installing on Debian-based systems,
91

92

installing on Enterprise Linux,
91

installing using Ruby Gems,
92

running Dashboard with,
165

167

running Foreman with,
180

running master with Apache and,
90

97

tuning,
93

versions known to work with Puppet,
92

passenger-status command,
106

path parameter

writing type and provider,
250

PATH variable

adding gem executable directory to,
218

testing if cucumber-puppet executable in,
217

per-contributor environments,
77

performance

Dashboard,
175

Puppet masters,
116

scaling Puppet,
116

118

Perl

external node classifier,
124

125

Phusion Passenger
see
Passenger

ping command

automating Nagios service checks,
150

configuring MCollective server,
276

pkg command, Solaris

installing Puppet on OpenSolaris,
9

platforms

see also
operating systems

installing correctly-named packages,
41

installing Puppet,
7

11

managing platform-specific resources,
196

Puppet versions,
6

plugin.psk setting, MCollective,
275

plugin.stomp.host setting, MCollective,
275

plugin.stop.password setting, MCollective,
275

plugins

listing all loaded agent plugins,
280

282

MCollective,
276

284

determining plugin directory,
278

verifying agent plugin is loaded,
279

plugins in modules

configuring Puppet

for custom facts,
241

for types/providers/functions,
247

earlier releases of Puppet,
247

pluginsync setting,
242

configuring Puppet for types/providers/functions,
247

testing types and providers,
259

policy.feature file, cucumber-puppet,
219
,
220

adding check step to,
224

225

testing catalog policy,
222

223

Postfix

building host for,
30

configuring server,
49

creating module to manage,
48

53

installing packages,
48

main.cf template,
51

making changes to configuration file,
78

81

managing service,
51

testing Puppet agent

against Postfix configuration file,
82

against testing environment,
86

postfix class,
52

postfix::config class,
49

51

postfix::install class,
48

postfix::service class,
51

postfix module

making changes to development environment,
70

.pp file suffix

import directive,
19

managing classes,
40

manifest files,
13
,
19

present value, ensure attribute,
4

creating sudo module,
22

priority parameter

Apache definition,
58

production environment
see
main environment

provider attribute

writing type and provider,
250

providers,
4

configuring Puppet for,
246

247

creating Subversion provider,
250

developing,
246

httpauth provider,
257

259

testing types and providers,
259

writing,
247

253

writing parsed file type and,
253

255

provisioning tools,
1

Foreman,
159
,
176

installing Puppet,
30

proxy class

bind service,
53

Proxy stanza

BalancerMember keyword,
101

load balancing multiple masters,
100
,
101

Puppet CA worker configuration,
110

ProxyPass directive,
102

ProxyPassMatch directive,
110

ProxyPassReverse directive,
102

ProxyPreserveHost directive,
102

public keys

public SSH host key,
143

145

publishing modules, benefits of,
195

Puppet,
1

client software
see
agents

client-server model,
2

collections (of resources),
18
,
20

connecting agent,
16

18

Cucumber Puppet tool,
189
,
216

228

Dashboard,
159

176

database servers,
137

declarative language,
3
,
189

definitions of resources,
18

deployment,
2

Facter tool,
4

5

file bucketing,
25

files,
18

finding latest release,
10

full list of binaries,
17

generate function,
43

glossary of terminology,
25

hash syntax,
46

installing,
7

11

managing with puppet module,
60

63

managing service frameworks,
47

mixing releases,
7

relationships,
23
,
45

reporting,
231

240

rules for quotation marks,
19

server,
2

single binary,
15

stand-alone mode,
3

support,
289

transactional layer,
5

verifying iptables rules managed by,
194

version selection,
6

writing and distributing custom facts,
241

246

writing custom functions,
260

262

writing parsed file type and provider,
253

255

writing story describing catalog behavior,
218

221

writing type and provider,
247

253

Puppet agent
see
agents

Puppet agent certificate,
93
,
95

puppet agent command,
16

debug option,
17

no-daemonize option,
16

onetime option,
25

server option,
16

testing load balancer configuration,
103

verbose option,
17

waitforcert option,
17

Puppet agent MCollective plugins,
277

282

downloading,
277

installing,
277

278

listing all loaded agent plugins,
280

282

multiple instances of agent,
280

reloading agent configuration files,
278

running Puppet from MCollective,
279

280

verifying agent plugin is loaded,
279

puppet apply command

building and testing modules,
199

puppet binary,
15

Puppet CA

configuring Apache and Passenger,
93

master worker configuration,
98

re-activating primary worker,
115

116

synchronizing hot standby,
112

113

Puppet CA fail back,
115

116

Puppet CA hot standby,
107
,
113

115

signing CSR on standby Puppet CA,
114

synchronizing,
112

113

Puppet CA load balancing configuration,
107

116

Puppet CA hot standby,
113

115

re-activating primary worker,
115

116

synchronizing hot standby,
112

113

worker configuration,
108

112

Puppet CA worker configuration,
108

112

Puppet CA hot standby,
112

115

re-activating primary worker,
115

116

puppet cert command,
17

configuring Apache and Passenger,
95

list option,
17

sign option,
17

puppet class,
62

puppet::config class,
61

puppet::install class,
61

puppet::master class,
62

puppet::params class,
61

puppet::service class,
62

puppet command

parseonly option,
80

Puppet Dashboard
see
Dashboard

Puppet development community

code review process,
67

Puppet DSL

fail function,
212

Ruby DSL as subset of,
205

Puppet Enterprise

resources for system administrators,
291

Puppet Enterprise product,
289

Puppet environments
see
environments

Puppet file server protocol,
23

Puppet Forge,
189

creating modules,
195

205

not duplicating effort creating modules,
189

pre-existing modules,
36

Puppet interface to,
190

Puppet Module working with,
189

releasing NTP module to,
204

205

resources for system administrators,
291

searching for and installing module from,
191

192

puppet kick command

using Foreman to trigger Puppet,
185

Puppet Labs,
1

installing Dashboard,
161

Puppet manifests,
18

Puppet master,
2

agent installations,
8

back-end worker process,
90

building host for,
30

client connection to,
16

CNAME for,
16

configuring,
11

15

environments,
66

70

for stored configuration,
140

142

nodes using ENC,
121

reporting,
233

connecting master and agent,
17

copying YAML files into cucumber-puppet,
220

creating module to manage SSH,
38

40

displaying reports in Foreman,
183

facts about agents,
5

firewall rule,
14

functions,
43
,
50

importance of accurate time,
18

installing

for Example.com Pty Ltd,
30

on Debian and Ubuntu,
9

on Red Hat,
8

load balancing

multiple masters,
97

116

Puppet CA configuration,
107

testing configuration,
102

107

with DNS round robin,
116

making changes to development environment,
70

managing environment from,
71

managing Puppet with puppet module,
62

mixing releases of Puppet,
7

performance,
116

queue configuration,
156

157

Rack configuration file,
95

report processors,
234

running functions,
43

running with Apache and Passenger,
90

97

single binary,
15

specifying name of,
12

splay time,
118

starting,
14

15

TCP port,
14

testing in Apache,
96

97

worker request log,
104

workers,
98

puppet master command,
15

debug option,
15

masterport option,
141

no-daemonize option,
15

verbose option,
15

Other books

Oracles of Delphi Keep by Victoria Laurie
The Devil To Pay by Ellery Queen
Divine Fury by Darrin M. McMahon
The Doctor's Proposal by Marion Lennox
Jade in Aries by Donald E Westlake
The Ace by Rhonda Shaw
Luto de miel by Franck Thilliez
Her Own Place by Dori Sanders
Blood Warrior by Gordon, H. D.