Using environment variables in Puppet

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

Setting up Ntop automatically with Cfengine 3

Recently, I had to use Ntop to analyze the network traffic of one customer file server. Ntop shows the traffic per interface and there per protocol, source IP and offers many other ways of showing you what happens in your network. Ntop is great; however, I observed this tool taking many system resources since it […]... Read More

Setting file permissions and ownerships with Cfengine 3

One of the most common tasks of a Linux sysadmin (or DevOp) might be setting file permissions and ownerships. In this blog I’ll show you how you can do that in a very simple but effective way with Cfengine 3. Writing the Cfengine 3 code for setting file permissions and ownerships body common control { […]... Read More

Add a new user with Cfengine 3

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

Monitoring the Apache web server with Cfengine 3

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

Setting ACLs with the community version of Cfengine 3

As you might already know the community version of Cfengine 3 is not able to set ACLs the “Cfengine 3 way”. So when you are using the community edition of Cfengine 3 you have to find another way of doing it.. such as running shell commands out of the Cfengine 3 scripts. I hope the […]... Read More