Entries Tagged with ‘sample’

Welcome back to the next part of my little series “Cfengine 3 vs. Puppet”.  When sticking to the order of the Cfengine 3 blog post series, our next topic would be something like “using the reporting feature of Puppet”, but unfortunately I do not know how to make use of a reporting feature in Puppet […]

(Continue reading…)

As you might be aware of, I am directly comparing all my previously 18 written Cfengine 3 code snippets with Puppet 2.x/3.x. This time a Puppet manifest will run a very simple shell command, similar to the Cfengine 3 version. Writing the Puppet manifest for running a shell command exec { "start_mysql": command => "/etc/init.d/mysql […]

(Continue reading…)

Welcome to the next part of my little blog entry series about comparing Cfengine 3 with Puppet. In this issue, we will write a Puppet manifest for mounting a NFS share. You can compare it directly to the Cfengine 3 code snippet if you click here. Writing the Puppet code snippet for mounting a NFS […]

(Continue reading…)

In my last blog post about Cfengine 3 we talked about how Cfengine 3 can check for you if an user exists or not. Today we will have a look at a very simple way of how a new user can be created if it doesn’t already exist. Writing the Cfengine 3 code for creating […]

(Continue reading…)

Sometimes it is necessary to create new symlinks. The following code snippet shows you how to do that with Cfengine 3. Please note that there are several ways of achieving our goal, but the following one should be the most efficient one when you only want to set one symlink. Writing the Cfengine 3 code […]

(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…)

I have been working with Cfengine 2 for more than one and a half year now and decided to take a look at the new version: Cfengine 3. What the hell is Cfengine? Cfengine can be considered as a free management tool for servers and clients. With the help of an agent and configuration scripts, […]

(Continue reading…)