Performing simple Backups with Cfengine 3

Today I noticed that it might be useful to backup some folders on one of my VMs from time to time. At first I thought about creating a new cron job, but then I noticed that Cfengine 3 is running on that VM. So – why not letting Cfengine 3 do all the work? Writing […]... Read More

Managing APT sources.lists with Puppet

For this part of my comparison series “Cfengine 3 vs. Puppet” I upgraded my Linux Mint 12 to 13 and switched to Puppet 3.0.2. If you download and try my little code snippets I recommend to use at least Puppet 2.7.14 since this version is able to run the official apt module from Puppetlabs. While […]... Read More

Cfengine 3.4.0 released

Today the Cfengine team from Oslo released version 3.4.0 of Cfengine (3). If you read my article in the German Linux Magazine issue 11/2012, you’d know that this version is really amazing 😛 The community edition of Cfengine 3.4.0 now contains POSIX ACL support for both Windows and Linux platforms. Furthermore the remote syslog support […]... 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

Check if an user exists with Cfengine 3

Often there is a need to add new users after deploying a new Linux box. In my case, I often have to add an user which takes care of the monitoring stuff (e.g. owning the Nagios plugins and executing them). The following little Cfengine 3 code snippet should help you to determine if a specific […]... 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

Managing APT sources.lists with Cfengine 3

In one of my previous blog posts I wrote about a very simple package management solution with Cfengine 3. Of course installing new packages is only one tiny part of really “managing” packages. But even this little step could fail if the according sources.list file is not correct. So todays’s part of the Cfengine 3 […]... Read More

Installing packages with Cfengine 3

For some strange reason I still have the motivation to look at the “new” Cfengine 3. While I covered editing files and checking for running services in the last posts, I will try to do some very basic package management with Cfengine 3 today. Writing the script body common control { version => "1.0"; inputs […]... Read More