Read Pro Puppet Online

Authors: Jeffrey McCune James Turnbull

Pro Puppet (62 page)

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

adding policy to Git index,
220

adding www and mail to,
221

catching changes in ENC data,
227

228

committing to Git repository,
221

generating template catalog policy file,
219

implementing cucumber check,
226

testing failure reporting,
222

223

testing policy,
222

223

validating resources,
224

228

writing story describing behavior,
218

221

catalog requests

curl command,
117

measuring performance,
116
,
117

CentOS

addressing hosts with metadata,
284

installing RabbitMQ on,
269

270

central repository,
74

cert command

cadir configuration option,
114

configuring Apache and Passenger,
95

certificate requests

consolidation of,
118

Puppet CA hot standby,
112
,
113

Puppet CA load balancing,
108

Puppet CA worker,
110
,
111
,
112
,
116

certificates

autosign mode,
17

cert command,
17

connecting master and agent,
17

displaying outstanding,
17

load balancing multiple masters,
102

Puppet CA hot standby,
114

Puppet CA load balancing configuration,
107

116

re-activating primary Puppet CA worker,
115

signing,
17
,
18

starting master,
14

waitforcert option,
17

certname option, puppet.conf file,
12

chaining,
45

checkout command, Git,
86
,
87

class inheritance,
52

scope,
53

classes,
18
,
20

adding, Dashboard,
174

establishing relationships within,
45

managing in init.pp file,
40

namespace syntax,
39

naming,
21

nesting,
40

referring to variables in another class,
44

classes, list of

apache,
58

apache::install,
56

apache::service,
57

module::params,
42

mysql,
55

mysql::config,
54

mysql::install,
54

mysql::service,
55

postfix,
52

postfix::config,
49

51

postfix::install,
48

postfix::service,
51

puppet,
62

puppet::config,
61

puppet::install,
61

puppet::master,
62

puppet::params,
61

puppet::service,
62

ssh,
40

ssh::config,
39
,
40
,
44

46

ssh::hostkeys,
143

ssh::install,
39
,
40
,
41

44

ssh::knownhosts,
144

ssh::params,
42
,
43
,
44

ssh::service,
39
,
40
,
46

48

classifiers

ENC (External Node Classification),
120

127

client request

load balancing multiple masters,
100
,
101

client software
see
agents

client-server mode,
1
,
11
,
89

client-server model,
2
,
7

connecting agent,
16

18

clone command, Git,
277

cloning

Git repository,
67

68

CNAME

creating DNS CNAME for host,
13

for master,
16

code review process,
67

collections (of resources),
18

including multiple collections,
20

node definition,
20

commands

functions,
43

commit command, Git,
38
,
70

conditional checks,
42

conditional statements

module::params class,
42

conditional syntax,
22

case statement,
43

if/else statement,
43

selectors,
42

conf.d.members directory

exporting load balancer worker resources,
146

config class

mysql,
54

postfix,
49

51

puppet,
61

ssh,
39
,
40
,
44

46

config command, Git,
37

config.ru Rack configuration file,
93
,
95
,
96

configuration,
1
,
2

adding to version-control system,
24

applying,
24

26

connecting agent,
16

18

creating,
18

21

creating sudo module,
21

24

enabling thin stored configurations,
151

environments,
66

70

externalizing,
119

131

for custom facts,
241

242

for types/providers/functions,
246

247

import directive,
19

LDAP in Puppet,
128

131

making changes to Postfix configuration file,
78

81

making changes to sshd configuration file,
75

77

nodes

Example.com,
31

35

external sources,
31

node inheritance,
32

33

specifying default node,
32

variable scoping,
33

35

working with similar hosts,
31

production environment releases,
86

Puppet CA load balancing,
107

116

Puppet master,
11

15

firewall,
14

for stored configuration,
140

142

starting master,
14

15

reporting,
233

234

scaling stored configurations,
151

157

site.pp file,
13
,
19

statements starting with $,
19

stored configurations,
157

transactional layer,
5

configuration items,
3
,
18

see also
resources

Facter tool and facts,
5

items managed,
7

site.pp file,
13

configuration language,
3

4

configuration resources
see
resources

configuration run,
2

configuration tools,
189

Cucumber Puppet,
216

228

declarative nature of Puppet,
3

not duplicating effort,
189

Ruby DSL,
205

216

shell or Perl script,
3

configuring Dashboard,
163

164

database.yml configuration file,
164

Ruby rake command,
164

YAML configuration file,
164

configuring Foreman,
178

180

on Debian,
178

on Red Hat,
178

on Ubuntu,
178

connecting agent,
16

18

consoles

Dashboard,
159

Foreman,
159

content attribute, file resources,
50

Apache definition,
58

create method

creating Subversion provider,
251

CSR

signing CSR on standby Puppet CA,
114

Cucumber Puppet tool,
189
,
216

228
,
229

adding check step to policy,
224

225

adding cucumber-puppet steps to Git,
219

catching changes in ENC data,
227

228

changes to hooks.rb file to configure,
219

committing node information and catalog policy to Git repository,
221

copying YAML files from master into,
220

cucumber-puppet-gen command,
218
,
219

implementing cucumber check,
226

installing,
217

218

installing with RubyGems,
217

locating executable directory,
217

policy.feature file,
219
,
220

stories,
218

template cucumber-puppet policy,
220

testing catalog failure reporting,
222

223

testing catalog policy,
222

223

testing if cucumber-puppet executable in PATH variable,
217

updating cucumber-puppet node cache,
228

validating resources,
224

228

writing story describing catalog behavior,
218

221

cucumber-puppet
see
Cucumber Puppet tool

curl command

catalog request,
117

measuring performance,
117

Puppet CA hot standby,
113
,
114

custom facts

adding facts,
242

configuring Puppet for,
241

242

plug-ins in modules,
241

testing facts,
245

writing and distributing,
241

246

custom functions

writing,
260

262

CustomLog configuration option,
102

CVS,
37

D

D option

mysql command line utility,
142

daemons

puppet master daemon,
14

options,
15

Dashboard,
159

176

adding classes,
174

adding groups,
174

adding nodes,
173

authentication,
168

authorization,
168

configuring,
163

164

creating dump of database,
175

database back up,
175

database optimization,
175

Destroy button,
175

documentation,
186

encryption,
168

external node classification,
173

175

external node classifiers,
119

Group summary screen,
174

home page,
168

importing existing reports,
169

170

installing,
160

163

DEB packages via APT,
162

from source code,
163

Red Hat prerequisites,
160

161

RPM packages via Yum,
161

Ubuntu prerequisites,
161

integrating,
169

172

logging,
175

performance,
175

populating database,
164

pruning log files,
175

purging older reports,
176

restoring database,
176

running,
165

168

running with Passenger,
165

167

Apache,
165
,
166

167

Debian packages,
166

Nginx,
165
,
168

Red Hat packages,
166

Ubuntu packages,
166

running with Thin,
168

running with Unicorn,
168

running with Webrick,
165

security,
168

sending live reports to,
170

171

viewing reports,
171

data center management

Foreman,
159
,
176

database servers

building hosts with Puppet,
29

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

Other books

Crimson Fire by Holly Taylor
Evil Eternal by Hunter Shea
Munich Signature by Bodie Thoene, Brock Thoene
Trauma Plan by Candace Calvert
Inheritance by Jenny Pattrick
Do You Love Football?! by Jon Gruden, Vic Carucci
Dreamrider by Barry Jonsberg
Hillbilly Rockstar by Christina Routon
Pale Demon by Harrison, Kim
Champagne & Chaps by Cheyenne McCray