OK, this is a very simple and quick one. I was looking for a simple example of how to iterate through an array in a Puppet module. I basically needed an example of a "for loop" inside a Puppet module that I could, as someone who is not exactly fluent in Ruby, could modify to … Continue reading Simple Puppet Module – Iterate Through an Array
puppet
Puppet: Convert a Variable to Lower Case
This is going to be a very simple example of how to convert a variable to all lowercase inside a Puppet module. If you look, which I am sure that you have already...there seems to be a lot of documentation around how to use the Ruby "downcase" function, but not much of it is … Continue reading Puppet: Convert a Variable to Lower Case
Running CloudForms and Puppet Together
In this instance we are trying to run Red Hat Cloudforms, also known as Manage IQ, and Puppet together on the same RHEL 6 host. Our goal here is to push out some configuration to the Cloudforms appliances via Puppet. However we ran into issues as the version of Ruby/Ruby Gems used by Cloudforms is … Continue reading Running CloudForms and Puppet Together
How to Add Standalone Puppet Agents to Foreman
This example will walk us through the process of adding a standalone Puppet host to Foreman for the purpose of managing the host through Puppet. In this instance we are going to create a standalone-hostgroup for the server.
How to Remove Deactivated or Invalid Nodes from Puppet Enterprise via the CLI
Apparently just deleting a Puppet node from the Puppet Enterprise Console does not actually delete the node from the Puppet database, and free up a licenses... or at least in my case it did not. I ran into this issue tonight after removing a few of my test boxes in preparation of building a new node that I wanted to ensure was properly managed via Puppet.
Getting Started With Puppet: How to Write Your First Module
This post will walk you through the process of writing your first, albeit, a very simple Puppet module. Nothing fancy here, that can come later once we get the basics down.
Before we get started let's take a minute to go through a couple of prerequisites.
Puppet: How Not To Generate a Certificate with Your Correct Hostname
So, I've been hacking away in my homelab as of late, building out a CentOS kickstart server, a Git server, and a puppet server. Right now, I am working on how to roll my puppet agent installs into my kickstart process. I just started on this, so I have yet to nail it down.