Online Book Reader

Home Category

Pulling Strings With Puppet - James Turnbull [1]

By Root 368 0
59

Creating Nodes .......................................... 62

Node Inheritance ..................................... 64

Node Inheritance and Variable Scope ...................... 66

Default Nodes ....................................... 68

Node Conditionals .................................... 69

Virtual Resources ......................................... 69

Realizing with a Collection .............................. 69

Realizing with the realize Function ........................ 70

Facts .................................................. 71

Resource Types .......................................... 74

Managing Cron Jobs .................................. 75

Using a Filebucket .................................... 76

Managing Host Files .................................. 77

Managing SSH Host Keys ............................... 78

Tidy Unwanted Files ................................... 78

Functions ............................................... 79

Logging Functions .................................... 81

Checking for Existence with defined ...................... 81

Generating Errors with fail .............................. 82

Adding External Data with file ........................... 82

Using generate ...................................... 83

Qualifying Definitions Using search ....................... 84

Using tag and tagged .................................. 85

Using Templating ..................................... 86

Resources .............................................. 88

Web ............................................... 88

CHAPTER 4 Using Puppet .................................................. 89

Our Example Environment .................................. 89

Manifest Organization ..................................... 91

Importing Manifests ................................... 91

Managing Manifests with Subversion ...................... 93

Defining Nodes .......................................... 95

Our First Classes ......................................... 98

Managing Users and Groups ............................... 101

Managing Users ......................................... 102

File Serving ............................................ 106

Modularizing Our Configuration ............................. 109

MySOL Module ..................................... 112

Postfix Module ...................................... 113

Apache Module ..................................... 115

Resources ............................................. 119

CHAPTER 5 Reporting on Puppet ................................. 121

Getting Started .......................................... 121

Configuring Reporting .................................... 124

Report Processors ....................................... 125

log ............................................... 125

tagmail ........................................... 126

rrdgraph .......................................... 127

Custom Reporting .......................................129

Resources .............................................130

CHAPTER 6 Advanced Puppet ............................................ 131

External Node Classification ................................ 131

Storing Node Configuration in LDAP .......................... 136

Puppet Scalability ....................................... 142

Installing Mongrel ................................... 144

Installing Apache .................................... 145

Configuring Apache As a Proxy .......................... 146

Configuring Puppet for Mongrel ......................... 150

How Far Will Puppet Scale? ............................ 151

Resources ............................................. 151

CHAPTER 7 Extending Puppet ............................................ 153

Extending Facter ........................................ 153

Configuring Puppet for Custom Facts ..................... 154

Writing Custom Facts ................................. 155

Testing Your Facts ................................... 157

Extending Puppet ........................................

Return Main Page Previous Page Next Page

®Online Book Reader