From the course: Learning Puppet
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
Set up Puppet Server - Puppet Tutorial
From the course: Learning Puppet
Set up Puppet Server
Setting up a Puppet server is actually fairly simple. Most of the process happens when the Puppet server package is installed. One thing we'll need to do is configure the Puppet server service to run. So we can do that by creating a profile class for the Puppet server and adding it to the Puppet server node. So we'll go to modules, and then profile, and then manifests. We're going to create a new manifest and it's called puppetserver.pp. And this should be class profile::puppetserver. And then all we need to do in here is manage the service for Puppet server. So the syntax is service and then puppetserver. And then we'll put in some parameters here. We'll say ensure => running enable => true. And then we'll say provider => system d. And let's align these arrows and we'll need a closing curly brace on our resource here. That looks correct. So let's save that. We'll close that file and then we can just add that profile to our role. So we'll go to role, manifest and open the Puppet…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.