ReferencePlatforms/Puppet Server: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(delete outdated content)
 
(36 intermediate revisions by 4 users not shown)
Line 1: Line 1:
This page describes how to recreate a Puppet server such as staging-puppet.build.mozilla.org or production-puppet.build.mozilla.org. These machines are based on the [[ReferencePlatforms/Linux-CentOS-5.0 | CentOS 5.0 Reference Platform]] and were originally cloned from Version 19 - but any version should do. The following changes were made to it after cloning:
{{ReleaseEngineering Puppet Header}}
 
= Install Mercurial =
yum install mercurial
 
= Install the EPEL (Extra Packages for Enterprise Linux) Package =
su -c 'rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm'
 
= Install puppet =
yum install ruby facter puppet puppetmaster ruby-shadow augeas-libs ruby-augeas
chkconfig --level 235 puppet on
 
= Clone manifests and mount the file share =
As root,
cd /etc/puppet
hg clone http://hg.mozilla.org/build/puppet-manifests manifests
 
Mount the puppet-files directory by adding an entry to fstab:
10.2.71.136:/export/buildlogs/puppet-files /N  nfs defaults 0 0
And then run,
mount -a
to mount it.

Latest revision as of 16:53, 25 August 2015

Warning signWarning: This page documents (mostly) the old release engineering puppet deployment. See ReleaseEngineering/PuppetAgain for documentation of the current deployment.
Puppet: Usage | Server Setup | Client Setup | Links | Troubleshooting