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
Foreman: Advanced Integration with RHEV-M – Part 2 of 2
Here is part 2... Source: Advanced Integration with RHEV-M - Part 2 of 2
Foreman: Advanced integration with Red Hat Enterprise Virtualization Manager (RHEV-M) – Part 1 of 2
Interesting read for those who want to integrate Foreman into their RHEV environment. I'm still working on figuring out the exact benefits of doing so, but this this seems like its the go-to guide to reference. Source: Advanced integration with Red Hat Enterprise Virtualization Manager (RHEV-M) - Part 1 of 2
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.
Packstack Installer Failure: “Error: Could not start Service[rabbitmq-server]: Execution of ‘/usr/bin/systemctl start rabbitmq-server’ returned 1”
Sitting in my hotel room today, I kept running into this error while trying to install OpenStack on a RHEL 7.1 VM running on my laptop. Digging through logs was not helping me one bit, and neither was trying to run "puppet apply" on the failing puppet manifests to see if I could get more info with which to troubleshoot.
Below is the specific error that I was running into. Note that my RHEL VM's IP address is 192.168.122.75. This IP address is pre-pended to the puppet module names. Your output, will obviously, vary. Note that this output is truncated.