Do you want to set a default value for variables in CFEngine? Here are
two methods. The first uses defaults promises. Defaults promises can
be bit confusing and I've seen bugs in them in the past, so test
carefully when using them. See the CFEngine reference for more details
Continue reading Setting default variables in CFEngine...
Here's a quick example of how to use mustache templates in CFEngine.
Continue reading Mustache template in CFEngine...
It's very likely that EFL
for CFEngine 3.6 will be able to read both CSV and JSON parameter
files. Some EFL users are looking forward to this because some CSV
files have very long lines and are hard to read. On the other hand some
CSV files are short and less cluttered than an equivalent JSON file
would be. At first I tried to transition completely to JSON files, but
upon further consideration EFL will be able to use both. Here's how.
Continue reading EFL tech preview for JSON parameters...
Above is a screenshot from Evolve's production Delta Reporting
service. These hosts are safe from Shell shock. Thanks to Delta
and CFEngine our journey to a safe harbour was
not long. First we had to design a test for the vulnerability.
Continue reading Shellshock free with CFEngine and Delta Reporting...
I've added a new bundle
to the 3.5 branch of EFL. This bundle efl_test_count allows you to
count the classes matching a regular expression and test if that count
matches your expected count. Consider the efl_service bundle, it
promises that services are configured and running. My SSH parameters
for this bundle include a template file for configuration. I promise
that /etc/ssh/sshd_config is built from the sshd_config.tmp, a
Continue reading Testing CFEngine policy by counting classes...