Read Pro Puppet Online

Authors: Jeffrey McCune James Turnbull

Pro Puppet (64 page)

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

installing correctly-named packages,
41

installing Facter

from source,
10

on Debian and Ubuntu,
9

on OpenSolaris,
9

on Red Hat,
8

on Windows,
11

via Ruby Gems,
9

MCollective plugin,
282

283

setcode block,
243

testing facts,
245

writing custom facts,
243

facts,
5

adding,
242

checking value of,
22

configuring Puppet for custom facts,
241

242

displaying nodes information in Foreman,
184

fact name starting with $,
22

importing data to Foreman,
180

plug-ins in modules,
241

sync of facts,
242

testing,
245

testing MCollective collecting facts,
283

writing and distributing,
241

246

writing custom facts,
243

245

fail back, Puppet CA,
115

116

fail function

Puppet DSL,
212

testing failure reporting, Cucumber Puppet,
223

failure reporting

testing, Cucumber Puppet,
222

223

Fedora

installing Puppet on,
8

fetch command, Git,
87

fetch origin command, Git,
84

file bucketing,
25

File resource type

configuring Postfix server,
49

file resources,
23

Apache definition,
58

attributes/metaparameters,
22
,
23

content attribute,
50

filebucket type

backing up files,
26

global defaults,
49

filemgr.rb plugin

writing agents for MCollective,
284

files,
18

specifying templates,
50

files directory

creating sudo module,
21

fileutils library

creating Subversion provider,
251

filters

using host filters with mc-rpc,
285

firewall class

adding resources to,
193

using iptables module by loading,
194

firewalls

configuring master,
14

Dashboard security,
168

iptables host-based firewall,
191

flush method, httpauth,
259

Foreman
see
The Foreman

FreeBSD

installing Puppet on,
11

front-end Apache load balancer

configuration file,
100

load balancing configuration,
100

load balancing multiple masters,
97
,
98
,
100

102

Puppet CA hot standby,
108

Puppet CA worker configuration,
110

testing load balancer configuration,
103
,
104
,
105

front-end HTTP request handler,
90
,
100

102

functions,
43
,
50

calling from another function,
262

configuring Puppet for,
246

247

developing,
246

execution on master,
260

full list of,
43

generate function,
43

include function,
43
,
50

notice function,
43

require function,
50

running functions,
43
,
247

rvalues function type,
260

statements function type,
260

template function,
50

writing,
43
,
260

262

G

gem command, Ruby

adding executable directory to PATH,
218

installing Puppet and Fedora,
9

installing Puppet on OpenSolaris,
9

installing Puppet on Windows,
11

installing rake gem,
161

installing RRD Ruby bindings,
236

installing Ruby on Rails using,
139

locating executable directory,
217

gen command, cucumber-puppet,
218
,
219

generate command, Puppet Module,
192
,
195

generate function,
43

Gentoo

installing Puppet on,
11

gid attribute

managing MySQL,
54

git add command,
37
,
195
,
196

git checkout command,
86
,
87

git clone command,
277

git commit command,
70
,
196

git fetch command,
87

git fetch origin command,
84

git init command,
196

git log command,
78
,
80
,
84

git merge origin command,
84

git push command,
77
,
85

git rebase command,
80

Git repository,
37

38

adding catalog policy to Git index,
220

cloning,
67

68

committing node information and catalog policy to,
221

creating bare repository for modules,
73

developing change using branch,
75

82

making changes to sshd configuration file,
76

making individual changes,
74

modules directory,
67

releasing NTP module to Forge,
204

setting up central repository,
73

74

status changed,
69

storing central version control repository,
74

writing stories, Cucumber Puppet,
218
,
219

git tag action,
204

Git tool

add command,
37
,
38

adding cucumber-puppet steps,
219

adding Git provider,
252

commit command,
38

config command,
37

distributed version control,
37

38

ensuring identical copy of production environment,
67

ignoring files with gitignore,
37

init command,
37

installing,
37

log command,
38

making changes to development environment,
69

managing modules,
195

196

rm command,
37

status command,
37

tagging,
86

tracking revisions,
38

writing Puppet type and provider,
247
,
250

GitHub

downloading MCollective plugins,
277

existing code,
246

extensions and additions to Puppet,
263

installing Dashboard,
161

from source code,
163

managing modules with Git,
196

Puppet Module project page and source code,
190

gitignore,
37

global defaults,
49

glossary of Puppet terminology,
25

Google

external node classification,
119

graphs

rrdgraph report processor,
234
,
236

237

groups, Dashboard,
174

guest account

removing, RabbitMQ,
271

H

Hash data type

account information from ENC,
208

hash syntax,
46

hashes

iterating over,
205

hasrestart attribute

managing service frameworks,
47

hasstatus attribute

managing service frameworks,
47

hook scripts

version control,
80

hooks

writing type and provider,
249

hooks.rb file

changes to configure cucumber-puppet,
219

writing stories, Cucumber Puppet,
218
,
219

host filters

using with mc-rpc,
285

host_aliases parameter

public SSH host key,
144

hostkeys class, ssh,
143

hosts

see also
nodes

addressing with metadata,
284

285

building with Puppet,
29

configuration with similar hosts,
31

creating DNS CNAME for,
13

db.example.com host,
29

importing data to Foreman,
179

mail.example.com host,
29

public SSH host key,
143

145

puppet.example.com host,
29

using Foreman as ENC,
181

web.example.com host,
29

hot standby
see
Puppet CA hot standby

HTTP access logs

measuring performance,
117

HTTP authentication password files

writing type and provider,
255

HTTP Basic authentication

Dashboard security,
168

HTTP load balancing,
97

107

front end load balancer configuration,
100

102

master worker configuration,
98

100

testing load balancer configuration,
102

107

http report processor,
237

templates for new processors,
238

HTTP request handler,
90

HTTP worker nodes

exporting load balancer worker resources,
145

httpauth provider,
257

259

httpauth type,
256

257

testing types and providers,
259

HTTPS load balancing,
108

I

idempotent,
5

if/else syntax,
43

creating sudo module,
22

import directive,
19

files with .pp suffix,
19

include directive/function,
43
,
50

applying module to node,
36

creating module to manage SSH,
40

including classes in ssh class,
43

including multiple collections,
20

node definition,
20

Include statement, Apache

exporting load balancer worker resources,
146
,
147

inheritance,
21

class inheritance,
52

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

Other books

Say Ye by Celia Juliano
Laws in Conflict by Cora Harrison
Finding Purgatory by Kristina M. Sanchez
The Girl in the Glass by Jeffrey Ford
Rage: A Love Story by Julie Anne Peters
Incandescent by Madeline Sloane
The Incomparable Atuk by Mordecai Richler