User Tools

Site Tools


wiki:sysadmin:how_to_install_puppet_server

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:sysadmin:how_to_install_puppet_server [2023/04/28 13:34] – ↷ Page moved from wiki:how_to_install_puppet_server to wiki:sysadmin:how_to_install_puppet_server Gregwiki:sysadmin:how_to_install_puppet_server [2025/01/07 12:37] (current) – ↷ Page moved from wiki:linux:install_davinci_resolve:wiki:sysadmin:how_to_install_puppet_server to wiki:sysadmin:how_to_install_puppet_server Greg
Line 1: Line 1:
 ====== How To Install Puppet Server ====== ====== How To Install Puppet Server ======
 +
 +This guide will teach you how to install the Puppetlabs Puppet Server service with r10k for code management, and demo some example Puppet manifests.
 +
 +===== Install Puppet Server =====
  
 Grab the Puppetlabs release package (this will set up the Puppetlabs repository): Grab the Puppetlabs release package (this will set up the Puppetlabs repository):
Line 18: Line 22:
  
 RHEL and clones: ''%%dnf updateinfo && dnf install -y puppetserver%%'' RHEL and clones: ''%%dnf updateinfo && dnf install -y puppetserver%%''
 +
 +===== Install r10k =====
 +
 +R10k is a beautiful tool that makes it really easy to manage a Puppet code repository with multiple environments. To get started, install the gem:
 +
 +<code>/opt/puppetlabs/bin/gem install r10k</code>
 +
 +Now we need to configure r10k so it knows what repository to pull your code from and where to put it. Create a directory under your puppetlabs config:
 +
 +<code>mkdir /etc/puppetlabs/r10k</code>
 +
 +Then open up/create the r10k config file in your favorite editor (e.g. vim):
 +
 +<code>vim /etc/puppetlabs/r10k/r10k.yaml</code>
wiki/sysadmin/how_to_install_puppet_server.1682703283.txt.gz · Last modified: 2023/04/28 13:34 by Greg