Introducing AI agent: Get information about your infrastructure faster. Learn more >
Show posts by author:
Mahesh Kumar

Behind the scenes: How do we test CFEngine

Over the last year we have changed the way we test our software from a manual process to a highly automated process. This new system is capable of taking a change from our source code repository and follow it all the way up to where we update our internal staging servers, thus giving us incredibly …

Posted by Mahesh Kumar
May 16, 2013

format(): sprintf semantics in CFEngine

If you are a programmer, you probably know and maybe even love the sprintf family of functions, which format output based on a format specification and on some input data. Here’s a description of the formats available in the GNU libc implementation. I wrote an implementation called format() …

Posted by Mahesh Kumar
May 16, 2013

New Output Format

Last week, we revamped the way CFEngine formats output. You can continue to use the old output format by specifying the option –legacy-output (-l), but this is considered deprecated and may be removed in a future version. The key features of the new output format are as follows. Consistent …

Posted by Mahesh Kumar
May 13, 2013

Syntax warnings

Over the past month we have removed a bit of functionality for CFEngine. These were features that were useful (cf-report) and good ideas (knowledge management), but the implementation was either in an unfinished state or the design had unclear semantics (outputs promise type). In order to get a …

Posted by Mahesh Kumar
April 26, 2013

A Case Study in CFEngine Layout

Authored by Brian Bennett of Digital Elf I’ve been working a lot with CFEngine newbies. CFEngine has been described as flour, eggs, milk and butter. All the ingredients needed to make a cake. Getting the new CFEngine user to recognize, then become excited about the possibilities that CFEngine …

Posted by Mahesh Kumar
April 15, 2013

February 2013 snapshot of CFEngine - get it while it's hot!

The February snapshot release of CFEngine Community and Enterprise has just hit our webservers. The releases are called 3.5 Alpha2 and 3.1 Alpha2, respectively, and just as last month: this is work in progress. Community Those of you who keep track of the commits in our github repository or follow …

Posted by Mahesh Kumar
February 27, 2013

Using Avahi for automatic configuration of CFEngine clients.

Hi everyone, Recently we have been thinking about how to make initial steps with setting up CFEngine easier. One way of making CFEngine easier to set up is to remove the need to manually specify the IP address of the policy hub for bootstrapping a client. We decided to use Zeroconf service discovery …

Posted by Mahesh Kumar
February 26, 2013

Libutils: our friendly toolbox

Hello everybody! For those of you following our development, you might have noticed that after our code split there is a new friend in town: libutils. The aim of libutils is to be a toolbox of commonly used data structures, algorithms and other handy stuff. Historically we had several …

Posted by Mahesh Kumar
February 15, 2013

Validating partial and runnable policy

Over the past week in CFEngine core dev, some results of refactoring work have come to fruition. We want to make cf-promises a flexible tool for analyzing policy code. Previously, cf-promises required a runnable policy, i.e. a policy that includes a body common control. This made it impractical to …

Posted by Mahesh Kumar
February 14, 2013