Configuring sshd with Puppet

During this blog post, I will show you how to edit the sshd_config file and restart sshd if necessary. For the sake of completeness and since this blog post is part of the comparison series “Cfengine 3 vs. Puppet”, I want to point you to the Cfengine 3 code snippet which does exactly the same. […]... Read More

Puppet: Ensure pre-defined services are running

Welcome to part two of my series of blog entries about comparing Cfengine 3 to Puppet. The goal is to write little task-orientated snippets for both configuration management tools and compare the results each time. The goal is to find out which piece of software is easiest to learn and use. Today we are re-writing […]... Read More

Configuring SSHd (or any other service) with Cfengine 3

Today I had more time to have a closer look at Cfengine 3. Since I am still using Cfengine 2 at work due to a company policy, I would like to gain more knowledge about the latest version of the configuration management tool in my spare time. One day I am hopefully able to port […]... Read More

Cfengine3: Check for running services

In the last post about Cfengine 3 we talked about a simple script which creates a file and writes something into it. Today, we will create a simple example script which checks if two specified services are running. Writing the script Connect to your Linux box and create the following file: /var/lib/cfengine3/inputs/ body common control […]... Read More