Product SiteDocumentation Site

11.5. Implementation

In order to fully implement puppet module puppet you will need to:
  1. Setup your environment(s), which at the very least includes a production environment.
  2. Setup a default environment for your clients, which by default is development.
  3. Setup a domain specific configuration files and manifest tree.

11.5.1. Setting Up Environments

  1. Create the following directories on your puppet master:
    # mkdir -p /var/lib/puppet/modules/{production,testing,development}
    
  2. For each of these environments, clone the puppet module into the correct directory:
    # cd /var/lib/puppet/modules/
    # for environment in production testing development; do \
          cd $environment; \
          for module in git puppet webserver; do \
              git clone git://git.puppetmanaged.org/puppet-module-$module $module; \
              cd $module; \
              git checkout -b $environment origin/$environment; \
              cd ..; \
          done; \
          cd ..; \
      done
    
Now that the modules and it's requirements are in place, you can start populating your domain specific configuration tree.