Read Pro Puppet Online

Authors: Jeffrey McCune James Turnbull

Pro Puppet (63 page)

BOOK: Pro Puppet
4.91Mb size Format: txt, pdf, ePub
ads

stored configurations,
137

140

database.yml file

configuring Dashboard,
164

configuring Foreman,
179

databases

back-ending node classification script,
125
,
126

databases, Dashboard

back up,
175

configuring,
163

creating dump of,
175

optimization,
175

populating,
164

restoring,
176

databases, Foreman

configuring Foreman,
178

importing data from Puppet,
179

managing,
179

db.example.com host

managing MySQL with mysql module,
53

56

operating system,
29

role-specific application for,
30

DEB-based distributions

installing Dashboard,
161

DEB packages via APT,
162

installing Foreman,
177

Debian

adding RabbitMQ apt repository,
267

addressing hosts with metadata,
284

configuring Foreman,
178

extending NTP class,
201

final test of NTP module,
204

installing ActiveMQ service,
154

156

installing Apache and Passenger,
91

92

installing Cucumber Puppet,
217

installing Erlang,
267

installing Foreman,
177

installing MCollective,
271

273

installing MySQL server,
139

installing Puppet,
9

installing RabbitMQ,
267

269

managing NTP service,
195

205

MCollective plugin directory,
283

running Dashboard with Passenger,
166

Debian backports,
91

installing Apache and Passenger,
92

debug option

agent command,
17

master command,
15

declarative language,
3

Puppet,
189

variable scoping,
33

default node

configuring nodes,
32

default report,
233
,
234

defaults

global defaults,
49

metaparameters,
50

resource default syntax,
49

defaultto method/structure

httpauth type,
257

writing parsed file type,
254

define syntax

Apache definition,
57

definitions of resources

Apache,
57

60

Puppet,
18

delete method

creating Subversion provider,
251

deployment

MCollective,
265

Puppet,
2

Destroy button, Dashboard,
175

development environment

creating clone of modules Git repository,
67

ensuring identical copy of production environment,
67

making changes to,
68

70

making changes to Postfix configuration file,
78
,
80

merging changes into development branch,
83

84

puppet.conf file,
66

testing agent against Postfix configuration file,
82

DHCP

managing environment, Foreman,
181

diff command,
105

Directory option, Apache

running Dashboard with Passenger,
167

DNS

managing environment, Foreman,
181

DNS CNAME

creating for host,
13

DNS round robin

load balancing,
116

DocumentRoot, Apache,
167

DocumentRoot, Rack,
99

E

e option

mysql command line utility,
142

enable attribute

overriding,
52

specifying status of resource,
47

ENC (External Node Classification),
31
,
119
,
120

127

see also
external node classifiers

account information from,
208

211

back-ending node classification script,
125

127

catching changes in data,
227

228

configuring nodes,
121

Dashboard,
159
,
160
,
173

175

declaring resources and variables in top scope,
205

declaring resources from data, Ruby DSL,
206

dynamic data set accessed through,
205

LDAP,
119
,
127

131

Perl external node classifier,
124

125

removing administrator account from,
227

Ruby DSL,
205

accounts module,
211
,
212
,
214
,
215
,
216

Ruby external node classifier,
122

124

script for Ruby DSL,
206

script output for Ruby DSL,
206

start of YAML document,
120

using Foreman as,
181

183

YAML (Yet Another Markup Language),
120

encryption

Dashboard,
168

Foreman,
186

ensurable method, httpauth,
257
,
259

ensurable statement

creating Subversion provider,
251

writing parsed file type,
254

writing type and provider,
249

ensure attribute,
4

creating sudo module,
22

overriding,
52

specifying state of resource,
47

Enterprise Linux

see also
Red Hat

adding support to NTP module,
200

203

extending NTP class to support,
201

final test of NTP module on,
204

installing ActiveMQ on,
152

154

installing Apache and Passenger on,
90

91

installing MCollective on,
273

274

installing RabbitMQ on,
269

270

MCollective plugin directory,
283

obtaining NTP service name and configuration for,
201

systems in,
90

Enterprise product,
289

ENV variable, Ruby

writing custom facts,
243

environment attribute

configuring LDAP in Puppet,
130

environment branching,
73

creating testing branch,
83

developing change using branch,
75

82

merging changes into development branch,
83

84

mergingchanges into testing branch,
84

merging changes into testing environment,
83

86

performing checkout on testing branch,
85

Subversion,
68

environment command line option

production environment releases,
88

environment merging,
73

developing change using branch,
75

merging changes into development branch,
83

84

merging changes into testing environment,
83

86

Subversion,
68

environmental variables, Facter

adding facts,
241

environments,
65

88

activating configuration changes,
66

agents,
65

branches,
73

configuring,
66

70

configuring Dashboard,
164

keeping environments synchronized,
67

mailtest.example.com host,
65

making changes

to development environment,
68

70

to Postfix configuration file,
78

81

to sshd configuration file,
75

77

managing environment

Foreman,
181

from master,
71

per-contributor environments,
77

populating environments,
67

68

production environment releases,
86

88

Ruby external node classifier,
123

setting up central repository,
73

74

switching between production and testing,
71

testing agent

against Postfix configuration file,
82

against sshd configuration file,
77

testing with agent,
70

72

EPEL (Extra Packages for Enterprise Linux)

installing Red Hat prerequisites for Dashboard,
160

EPEL repository,
8

installing Foreman via RPM,
177

installing Puppet on Red Hat,
8

ERB templates

checking syntax of,
51

testing environments with agent,
72

Erlang language

installing Erlang on Debian,
267

RabbitMQ,
267

installing on Enterprise Linux,
269

err tag,
235

error log

balancer_error.log file,
104

front end load balancer,
105

load balancer,
104

Puppet CA hot standby,
114

ErrorLog configuration option

testing load balancer configuration,
102

errors

duplicate resource declaration errors,
133

writing custom functions,
261

/etc/puppet directory,
11

configuring environments,
66

events

transaction reports,
231
,
233

Example.com Pty Ltd

configuring nodes,
31

35

installing master and agent,
30

network,
29

operating systems,
29

exists method

creating Subversion provider,
251

httpauth provider,
259

exported resources,
137

151

adding MySQL table index,
142

automating Nagios service checks,
147

151

common use cases for,
143

configuring master for stored configuration,
140

142

load balancer worker resources,
145

147

public SSH host key,
143

145

stored configurations,
137

140

virtual resources,
133

137

External Node Classification
see
ENC

external node classifiers

configuring nodes using,
121

in shell script,
121

122

Perl,
124

125

Ruby,
122

124

external_node.rb script

using Foreman as ENC,
183

external_nodes option,
121

externalizing configuration,
119

131

extlookup function,
205

F

Facter method

writing custom facts,
243

Facter tool,
4

5

add method,
243

adding facts, environmental variables,
241

finding latest release,
10

BOOK: Pro Puppet
4.91Mb size Format: txt, pdf, ePub
ads

Other books

Life After Death by Cliff White III
Weight of Silence by Heather Gudenkauf
Death by Cliché by Defendi, Bob
Campbell's Kingdom by Hammond Innes
Tiempos de gloria by David Brin
AMelodyInParadise by Tianna Xander
Erin M. Leaf by You Taste So Sweet