Hello

I am new to Puppet and am having a hard time relating modules and
classes in configuration files to actual operating system files. For
instance  I saw the following example on this list:

node 'somenode' {
  include puppetmaster

}

class puppetmaster {
  include common
  include puppet
  include ldap_auth
  include iptables::disabled
  include httpd::ssl
  include ruby-enterprise::passenger

}

class ruby-enterprise::passenger {
  include common
  include httpd
  include ruby-enterprise

}

class httpd::ssl {
  include httpd }

The base file where everything starts is /etc/puppetlabs/puppet/
manifests/site.pp. Where do I define the puppetmaster class? Should I
follow the structure shown on page 92 of the "Pulling Strings with
Puppet" book?

import "templates.pp"
import "nodes.pp"
import "classes/*"
import "groups/*"
import "users/*" etc....

Manifest structure:
/manifests/                The manifest root directory
/manifests/templates.pp             Contains template nodes
/manifests/nodes.pp                   Contain node definitions
......
/manifests/templates/classname    ERB templates .....

A couple of detailed examples would greatly help.

Thank you





-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to