From the course: Puppet Essential Training
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Finishing touches - Puppet Tutorial
From the course: Puppet Essential Training
Finishing touches
- [Instructor] Now that we've got a basic Puppet module that does what we need, we'll need to add a few things to make it more versatile and easier to maintain. The Elastic modules make this setup pretty easy but there a couple things that would be nice to have. To start, let's add some configurability to our filebeat class. Right now it doesn't do any configuration. According to the docs on Elastic's website, the filebeat configuration is located in /etc/filebeat/filebeat.yml, so let's create a file resource to manage that file. I'll type file and then /etc/filebeat/filebeat.yml, Y-M-L. Then I'm gonna say ensure file and content and we'll use an EPP template for this, so EPP, open paren and then the location of the template which we'll create in a second is elk/filebeat.yml.epp. For the second argument, we'll need a list of parameters, so let's just say logstash_server and assign that to a parameter we're about to set up. Logstash_server and then we'll do logstash_port…
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.
Contents
-
-
-
-
-
-
Puppet module review4m 26s
-
(Locked)
The ELK stack4m 29s
-
(Locked)
The Puppet Forge4m 32s
-
(Locked)
Installing the ELK stack5m 36s
-
(Locked)
Create a Puppetfile6m 22s
-
(Locked)
Installing Filebeat3m 49s
-
(Locked)
Installing the ELK stack4m 2s
-
(Locked)
Finishing touches3m 27s
-
(Locked)
ELK role and profile3m 21s
-
(Locked)
Deploy the ELK stack2m 1s
-
-
-
-