Entries Tagged with ‘snippet’

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

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

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

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

(Continue reading…)