PluralSight Puppet Admin Course Notes

From RiceFamily Wiki
Jump to: navigation, search

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