Forum: Announcements
Subject: CFEngine Community 3.3.0 is released
Author: CFEngine
Link to topic: https://cfengine.com/forum/read.php?1,25507,25507#msg-25507

CFEngine Community 3.3.0 is now available for download.

New promise types:
- Guest environments promises, which allow to manipulate virtual
machines using libvirt.
- Database promises, which allow to maintain schema of MySQL and
PostgreSQL databases. Database promises are in "technical preview"
status: this promise type is subject to change in future.
- Services promises for Unix, allows abstraction of details
on managing any service.

New built-in functions:
- dirname() to complement lastnode().
- lsdir().
- maplist() to apply functions over lists.

New features:
- Allow defining arrays from modules.
- Allow both `process_stop' and `signals' constraints in
`processes' promises at the same time.
- cf-promises --gcc-brief-format option to output warnings and
errors in gcc-compatible syntax which to ease use "go to next
error" feature of text editors.
- Iteration over lists is now allowed for qualified (non-local) lists.

New built-in variables and classes (Linux):
- Number of CPUs: $(sys.cpus), 1_cpu, 2_cpus etc.

New built-in variables and classes (Unices):
- $(sys.last_policy_update) - timestamp when last policy change was
seen by host.
- $(sys.hardware_addresses) - list of MAC adresses.
- $(sys.ip_addresses) - list of IP addresses.
- $(sys.interfaces) - list of network interfaces.
- $(sys.hardware_mac[$iface]) - MAC address for network interface.
- mac_:: - discovered MAC addresses.

Changes:

- Major cleanup of database handling code. Should radically decrease
amount of database issues experienced under heavy load.

*WARNING*: Berkeley DB and SQLite backends are *removed*, use
Tokyo Cabinet or QDBM instead. Both Tokyo Cabinet and QDBM are
faster than Berkeley DB in typical CFEngine workloads.

Tokyo Cabinet requires C99 environment, so it should be
available on every contemporary operating system.

For the older systems QDBM, which relies only on C89, is a
better replacement, and deemed to be as portable, as Berkeley DB.

- Change of lastseen database schema. Should radically decrease
I/O contention on lasteen database.

- Automatic reload of policies by cf-execd.
- Documentation is generated during build, PDF and HTML files are
retired from repository.
- Rarely used feature retired: peer connectivity intermittency
calculation.
- Memory and CPU usage improvements.
- Testsuite now uses 'make check' convention and does not need root
privileges anymore.
- cf_promises_validated now filled with timestamp, allows digest-copy
for policy instead of mtime copy which is safer when clocks are
unsynchronised.
- The bundled failsafe.cf policy now has trustkey=false to avoid IP
spoofing attacks in default policy.
- See the full list of bugfixes at
Bugfixes

Downloads:

Source Code

Checksums:

MD5 d40426fcc447e6f1581a6abd6116ea20 cfengine-3.3.0.tar.gz
SHA1 15ac009acaebf8fb402c23f3632470555bc48ecb cfengine-3.3.0.tar.gz

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to