Pro Puppet (66 page)

Read Pro Puppet Online

Authors: Jeffrey McCune James Turnbull

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

downloading MCollective plugins,
277

installing MCollective agent plugins,
278

mc-ping command,
276

mc-puppetd command,
279
,
280

mc-rpc command

listing all loaded agent plugins,
280
,
282

running Puppet from MCollective,
279

using host filters with mc-rpc,
285

verifying agent plugin is loaded,
279

merge origin command, Git,
84

merging
see
environment merging

message queues

configuring MCollective server,
275

configuring RabbitMQ,
271

metadata

addressing hosts with,
284

285

Facter plugin, MCollective,
282

metaparameters,
23

alias,
42

chaining,
45

defaults,
50

list of,
23

notify,
45

relationships,
45
,
50

require,
23
,
45
,
46

metrics

transaction reports,
231
,
233

mod_passenger module,
90
,
93
,
167

mod_proxy module,
102
,
118

mod_rails module,
90
,
166

mode attribute, file resource,
23

modes

audit mode,
55

autosign mode,
17

client-server mode,
89

noop mode,
25
,
78

stand-alone mode,
3

module path

creating sudo module,
21

Module tool
see
Puppet Module tool

module::params class,
42

Modulefile file,
198
,
203

modulepath option, puppet.conf file,
21
,
36
,
66
,
70

modules,
19
,
20
,
21
,
36

38

see also
Puppet Module tool

accounts Ruby DSL module,
211

216

adding Enterprise Linux support to NTP module,
200

203

applying configuration,
24

26

benefits of publishing,
195

building and testing,
198

200

configuring for types/providers/functions,
246

creating modules

bare repository for module,
73

managing Postfix,
48

53

managing SSH,
38

40

not duplicating effort whilst,
189

sudo module,
21

24

with Puppet Module tool,
195

205

deploying and managing RabbitMQ,
267

distributing facts,
242

downloading and installing,
191

errors when finding,
199

managing Apache and websites,
56

managing MySQL,
53

56

managing platform-specific resources,
196

managing Puppet with puppet module,
60

63

managing with Git,
195

196

moving into puppet-module search path,
194

namespace syntax,
39

naming,
21
,
199

plug-ins in,
241

pre-existing,
36

releasing NTP module to Forge,
204

205

searching for and installing from Forge,
191

192

structure,
36

using,
192

194

using Ruby DSL,
207

208

version control,
36

38

modules directory

creating clones of Git repository,
67

creating module to manage SSH,
38

monitor class, Nagios,
148
,
150
,
151

monitoring system

automating Nagios service checks,
147
,
148
,
151

motd_location Ruby DSL module,
206
,
207

208

munge hook

writing type and provider,
250

mv command,
105

moving built module into puppet-module search path,
194

MySQL

adding table index,
142

configuring Foreman,
178
,
179

configuring master for stored configuration,
140
,
141

installing MySQL server on Red Hat,
138

stored configuration database server,
137

MySQL application

building host for,
30

configuring Dashboard,
164

managing with mysql module,
53

56

mysql class,
55

mysql::config class,
54

mysql::install class,
54

mysql::service class,
55

mysql command line utility

batch option,
142

configuring master for stored configuration,
141

D option,
142

e option,
142

p option,
142

u option,
142

MySQL database

back-ending node classification script,
126

installing Dashboard,
160

mysql module

managing MySQL with,
53

56

N

Nagios monitoring system

automating Nagios service checks,
147

151

nagios::monitor class,
148
,
150
,
151

nagios::target class,
148
,
149
,
150
,
151

namespace syntax,
39

referring to namespaced resources,
44

nesting classes,
40

NetBSD

installing Puppet on,
11

netstat command

configuring RabbitMQ,
271

network sockets

starting master,
14

New Host link

using Foreman as ENC,
182

newfunction method,
260

newvalues method, httpauth,
257

Nginx

running Dashboard with Passenger,
165
,
168

no-daemonize option

agent command,
16

master command,
15

node definition,
20

applying configuration,
24

collections (of resources),
20

external node classifier in shell script,
122

include directive,
20

node detail screen

viewing reports,
172

node.pp file

configuring nodes for Example.com,
31

node_terminus option

configuring LDAP in Puppet,
129

configuring nodes using external node classifier,
121

nodes,
2
,
18

see also
hosts

adding, Dashboard,
173

applying module to,
36

class inheritance,
52

committing information to Git repository,
221

configuring LDAP in Puppet,
130

configuring nodes

Example.com,
31

35

external sources,
31

node inheritance,
32

33

specifying default node,
32

using external node classifier,
121

variable scoping,
33

35

working with similar hosts,
31

copying YAML files,
220

displaying information in Foreman,
184

external node classification,
119
,
120

127

inheritance model,
21

LDAP,
119
,
127

131

regular expressions,
20

specifying individual resources t,
20

storing information externally,
119

131

nodes.pp file

adding agent definition,
20

import directive,
19

noop command line option,
71

noop mode,
25
,
78

notice function,
43

notify metaparameter,
45

NTP (Network Time Protocol)

importance of accurate time,
18

managing NTP service on Debian and Redhat,
195

205

NTP class,
198
,
201

NTP module

adding Enterprise Linux support to,
200

203

building and installing version 0.0.2 of,
203

building and testing Puppet modules,
199

Debian-specific functionality in,
196

installing on Enterprise Linux,
200

managing modules with Git,
196

managing platform-specific resources,
196

obtaining NTP service name and configuration for Enterprise Linux,
201

releasing to Forge,
204

205

testing on Enterprise Linux,
200

testing to ensure NTP service can be stopped,
200

O

object relational mappers,
137
,
138

One-Click installer

installing Puppet on Windows,
10

onetime option, agent command,
25

OpenBSD

installing Puppet on,
11

OpenLDAP

adding schema to LDAP directory,
128

setting up LDAP server,
127
,
128

OpenSolaris

installing Puppet on,
9

OpenSSH package

ssh::install class,
41

OpenSuSE

installing Puppet on,
11

operating systems

see also
platforms

Facter tool,
4

hosts,
29

Puppet versions,
6

operatingsystem variable

installing correctly-named packages,
41

operatingsystem fact

checking value of,
22

writing custom facts,
243
,
244

operator/ssh branch

testing agent,
78
,
82

orchestration frameworks

MCollective,
265

ORM (object relational mapper)

Ruby Active Record library,
137
,
138

owner attribute, file resource,
23

P

p option

Other books

Only in My Dreams by Darcy Burke
New World, New Love by Rosalind Laker
Driftwood Point by Mariah Stewart
The Dominant by Tara Sue Me
The Collectors by David Baldacci
The Steel Spring by Per Wahlöö
1989 by Peter Millar