Entries Tagged with ‘restart’

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. […]

(Continue reading…)

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 […]

(Continue reading…)

During the last weeks I received a lot of positive feedback on my blog posts and the Cfengine 3 code snippets so I started to post them on Twitter. Especially my little article about monitoring the CPU load with Cfengine 3 gained some attention there, that is why I am very motivated to dive in […]

(Continue reading…)

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/example2.cf body common control […]

(Continue reading…)