Pro Puppet (70 page)

Read Pro Puppet Online

Authors: Jeffrey McCune James Turnbull

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

tables

adding MySQL table index,
142

tagging, Git tool,
86
,
87

tagmail report processor,
234
,
235

tagmail.conf file,
235

target class, Nagios

automating Nagios service checks,
148
,
149
,
150
,
151

target parameter

writing parsed file type,
254

TCP connection

request handler,
90

TCP port,
14

template files,
18

writing custom functions,
260

template function,
50

templates

checking syntax of ERB templates,
51

cucumber-puppet policy,
220

learning more about,
51

specifying for files,
50

templates directory

creating sudo module,
21

testing

Cucumber Puppet tool,
216

228

environments with agent,
70

72

mailtest.example.com host,
65

testing environment

creating clone of modules Git repository,
67

creating testing branch,
83

ensuring identical copy of production environment,
67

merging changes into,
83

86

performing checkout on testing branch,
85

puppet.conf file,
66

switching between production and,
71

testing agent against,
86

The Foreman,
159
,
176

186

authentication,
186

configuring,
178

180

on Debian,
178

on Red Hat,
178

on Ubuntu,
178

displaying nodes information in,
184

displaying reports in,
183

184

documentation,
186

encryption,
186

external node classifiers,
119

using Foreman as ENC,
181

183

home page,
180

importing data from Puppet,
179

installing,
177

178

from source,
177

via DEB,
177

via RPM,
177

managing databases,
179

removing reports in,
184

REST API,
185

SSL connections,
186

starting,
180

triggering Puppet,
185

Thin

running Dashboard with,
168

thin stored configurations

enabling,
151

tilde arrow operators,
137

title, Puppet resources,
3
,
4

training

resources for system administrators,
291

transaction reports

from agents,
231

233

log report processor,
234

transactional layer,
5

transport layer,
6

scaling transport,
89

triggering relationships,
23

types,
3
,
4

configuring Puppet for,
246

247

creating type,
248

developing custom types,
246

httpauth type,
256

257

providers,
4

testing types and providers,
259

writing,
247

253

writing parsed file type and provider,
253

255

U

u option

mysql command line utility,
142

Ubuntu

building hosts with Puppet,
29

configuring Foreman on,
178

installing Dashboard,
161

installing Foreman,
177

installing MCollective on,
271

273

installing MySQL server on,
139

installing Puppet on,
9

installing RabbitMQ on,
267

269

running Dashboard with Passenger,
166

undef value, attributes,
53

Unicorn

running Dashboard with,
168

V

validate hook

writing type and provider,
249
,
250

validating resources, Cucumber Puppet,
224

228

adding check step to policy,
224

225

catching changes in ENC data,
227

228

implementing cucumber check,
226

variable scoping

node inheritance structure,
33

35
,
48

variables

Apache definition,
58

referring to variables in another class,
44

VCS repository

making changes to development environment,
70

verbose option

agent command,
17

master command,
15

verification

SSL verification,
90
,
93
,
95
,
102

version control

Git tool,
37

38

hook scripts,
80

keeping environments synchronized,
67

making changes to Postfix configuration file,
78

production environment releases,
86

88

setting up central repository,
73

storing central version control repository,
74

version control

adding configuration to,
24

benefits of,
73

distributed version control,
37

modules,
36

38

writing type and provider for,
247

versions

finding latest release,
10

mixing releases,
7

numbering change,
6

older releases of Puppet,
6

selection of,
6

vhost.pp file

Apache definition,
60

virtual hosts

configuring Apache and Passenger,
93
,
94

load balancing configuration,
98
,
99

load balancing multiple masters,
98
,
100
,
101
,
102

Puppet CA worker configuration,
108
,
109

RequestHeader statements,
101

testing load balancer configuration,
102

virtual resources,
133

137

declaring,
134

using @ character,
143

using @@ syntax,
143

making virtual resources real,
135

realizing,
134

realize function,
135

spaceship operator,
135

relationship-chaining syntax,
136

137

VirtualHost configuration item,
98

VirtualHost stanza

configuring Apache and Passenger,
94

testing load balancer configuration,
93
,
103

VirtualHost template

Apache definition,
58
,
59

W

waitforcert option, agent command,
17

Web resources

resources for system administrators,
290

web servers

Apache,
89

building hosts with Puppet,
29

Nginx,
89

running Dashboard

with Passenger,
165

167

with Webrick,
165

running master with Apache and Passenger,
90

97

WEBRick,
89

web services

HTTP load balancing,
97

107

scaling,
89

web.example.com host

node inheritance,
35

operating system,
29

role-specific application for,
30

Webrick,
89

running Foreman with,
180

scaling Puppet,
89

Webrick library

httpauth provider,
259

Webrick web server

running Dashboard with,
165

websites

managing Apache and,
56

Windows

installing Puppet on,
10

with-fact option

MCollective client,
284
,
285

worker configuration

Puppet CA,
108

112

worker request log,
104

workflow

making changes to Postfix configuration file,
80

www

adding to cucumber-puppet catalog policy,
221

X

X-Client-DN header,
102

X-Client-Verify header,
102

XML-RPC transport layer,
6

mixing releases of Puppet,
7

X-SSL-Subject header,
102

Y

Other books

Amazon Slave by Lisette Ashton
Supernatural Games by Casey Knight
Love Me Again by Teresa Greene
Fanatics by William Bell
On Gentle Wings by Patricia McAllister
Fugitive Filling by Jessica Beck