Difference between revisions of "PluralSight Puppet Admin Course Notes"

From RiceFamily Wiki
Jump to: navigation, search
(Created page with "= Configure Virtual Box Instances = == Add Server Instance == * cd puppet-fundamentals-lab * vagrant box add centos65-base centos65.box = Boot Puppet Master Server = * cd pup...")
 
 
Line 18: Line 18:
 
* sudo yum -y install http://yum.puppetlabs.com/puppetlabs-release-el-6.noarch.rpm
 
* sudo yum -y install http://yum.puppetlabs.com/puppetlabs-release-el-6.noarch.rpm
 
* sudo yum -y install puppet-server
 
* sudo yum -y install puppet-server
 +
 +
= Setting Up Directory Environments =
 +
Site Manifest loaded by default
 +
 +
The Default path is /etc/puppet/manifests/site.pp
 +
 +
== Creating a Production Environment ==
 +
 +
The Environment Configuration File
 +
 +
/etc/puppet/environments/production/environment.conf
 +
 +
== Lower the Environment Timeout ==
 +
Puppet Configuration File
 +
 +
=== Master ===
 +
=== Agent ===
 +
=== Main ===
 +
 +
== Set DNS alternative names ==

Latest revision as of 03:09, 28 March 2017

Configure Virtual Box Instances

Add Server Instance

  • cd puppet-fundamentals-lab
  • vagrant box add centos65-base centos65.box

Boot Puppet Master Server

  • cd puppetmaster
  • vagrant up
  • vagrant ssh

Installing Nano, Git, and NTP

  • sudo yum -y install nano git ntp
  • sudo service ntpd start
  • sudo chkconfig ntdp on

Installing the Puppet Master

Adding Puppet Repository

Setting Up Directory Environments

Site Manifest loaded by default

The Default path is /etc/puppet/manifests/site.pp

Creating a Production Environment

The Environment Configuration File

/etc/puppet/environments/production/environment.conf

Lower the Environment Timeout

Puppet Configuration File

Master

Agent

Main

Set DNS alternative names