Read Pro Puppet Online

Authors: Jeffrey McCune James Turnbull

Pro Puppet (65 page)

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

node inheritance,
32

33

variable scoping,
33

35
,
48

init command, Git,
37

init script

starting master,
14

init.pp file

creating module to manage SSH,
39
,
40

creating sudo module,
21
,
22

24

managing classes,
40

module structure,
36

install class

apache,
56

mysql,
54

postfix,
48

puppet,
61

ssh,
39
,
40
,
41

44

install command, Puppet Module,
192

install.rb script

cloning copy of source,
190

installing Dashboard,
160

163

DEB packages via APT,
162

from source code,
163

Red Hat prerequisites,
160

161

RPM packages via Yum,
161

Ubuntu prerequisites,
161

installing Foreman,
177

178

from source,
177

via DEB,
177

via RPM,
177

installing packages,
41

installing Puppet,
7

11

from source tarballs,
10

on Debian,
9

on Fedora,
8

on OpenSolaris,
9

on other platforms,
11

on Red Hat,
8

on Ubuntu,
9

on Windows,
10

Puppet Module tool,
190

via Ruby Gems,
9

installing RabbitMQ,
266

270

on Debian and Ubuntu,
267

269

integration interfaces,
159

inventory capabilities,
159

iptables command

Puppet CA hot standby,
113

re-activating primary Puppet CA worker,
115

iptables command,
194

iptables host-based firewall,
191
,
193

iptables module,
192

using by loading firewall class,
194

IRC channel

resources for system administrators,
290
,
291

isnamevar method

writing parsed file type,
254

writing type and provider,
250

iterators,
205
,
209

J

Java

installing for ActiveMQ,
152

on Debian,
154

on Enterprise Linux,
152

JSON

REST API, Foreman,
185

K

Kanies, Luke,
1

keys

public SSH host key,
143

145

kick command

using Foreman to trigger Puppet,
185

kind_of method

accounts Ruby DSL module,
212

known_hosts files

public SSH host key,
143
,
144

knownhosts class, ssh,
144

L

LDAP (Lightweight Directory Access Protocol),
119
,
127

131

adding Puppet schema,
128

authentication, Foreman,
186

configuring LDAP in Puppet,
128

131

installing Ruby LDAP libraries,
127

nodes,
129

options,
129

setting up LDAP server,
127

ldapbase option,
129

ldappassword option,
129

ldapport option,
129

ldapserver option,
129

ldapuser option,
129

LDIF nodes,
130

Levy, Ohad,
159
,
178

lib directory,
242
,
247

Lightweight Directory Access Protocol
see
LDAP

Linux

installing Puppet on,
8

list option, cert command,
17

Listen configuration item,
98

load balancer error log,
104

load balancer request log,
104

load balancing,
97

agent HTTPS load balancing,
108

DNS round robin,
116

exporting worker resources,
145

147

front end configuration,
100

102

HTTP,
97

107

master worker configuration,
98

100

multiple masters,
97

116

Puppet CA configuration,
107

116

Puppet CA hot standby,
112

115

Puppet CA worker configuration,
108

112

re-activating primary Puppet CA worker,
115

116

testing configuration,
102

107

log command, Git,
38

making changes to Postfix configuration file,
78
,
80

merging changes into development branch,
84

log files

testing load balancer configuration,
103

log messages

transaction reports,
231
,
233

log report processor,
234

logging

configuring worker logging,
103

Dashboard,
175

login accounts

management of,
189

lookupvar function

writing custom functions,
261

loopback interface,
97
,
98

loops,
205
,
209

M

MacOS X

installing Puppet on,
11

mail

adding to cucumber-puppet catalog policy,
221

mail servers

building hosts with Puppet,
29

on different platforms,
48

mail.example.com host

creating module to manage Postfix,
48

53

operating system,
29

role-specific application for,
30

mailing lists

resources for system administrators,
289
,
291

mailtest.example.com host,
65

making changes to development environment,
70

main environment

ensuring identical copy of production environment,
67

production environment releases,
86

88

puppet.conf file,
66

rolling back changes,
86
,
88

switching between production/testing,
71

main section, puppet.conf file,
12

CNAME for master,
16

modulepath option,
21

main.cf template, Postfix,
51

main.cf.erb file

developing change using branch,
75

making changes to development environment,
69

making individual changes to repository,
74

Mandrake/Mandriva

installing Puppet on,
11

manifest configuration option,
13

manifest files, suffix for,
13
,
19

manifest option, puppet.conf file,
66
,
70

manifestdir configuration option,
13

manifests,
13
,
18

defining agents,
20

fact name starting with $,
22

strings with single/double quotes,
19

testing with cucumber-puppet,
222

manifests directory

creating sudo module,
21

managing classes,
40

overriding name and location of,
13

site.pp file,
13

Marionette Collective
see
MCollective

master
see
Puppet master

master class,
62

master section, puppet.conf file,
12

master server
see
Puppet master

masterport option, master command,
141

mc-facts command,
283

MCollective (Marionette Collective),
265

ActiveMQ service,
266

addressing hosts with metadata,
284

285

configuring server,
274

276

configuring RabbitMQ,
270

271

installing on Debian and Ubuntu,
271

273

installing on Enterprise Linux,
273

274

installing RabbitMQ,
266

270

messaging architecture,
266

plugins,
276

284

RPC framework,
265

running Puppet from,
279

280

sending and receiving messages,
266

testing fact collection,
283

troubleshooting,
276

MCollective agents,
265

writing agents for MCollective,
284

MCollective client

with-fact option,
284
,
285

MCollective plugin directory,
283

MCollective plugins,
276

284

downloading,
277

Facter plugin,
282

283

installing,
277

278

listing all loaded agent plugins,
280

282

Puppet agent,
277

282

multiple instances of,
280

reloading agent configuration files,
278

running Puppet from MCollective,
279

280

verifying agent plugin is loaded,
279

mcollective-plugins repository,
284

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

Other books

Moonweavers by Savage, J.T.
Honeysuckle Summer by Sherryl Woods
Rocks of Ages by Stephen Jay Gould
Hillbilly Rockstar by Christina Routon
The Survivors by Robert Palmer
Old Men at Midnight by Chaim Potok
Gift Wrapped by Karla Doyle
Knock Me for a Loop by Heidi Betts