CFEngine package repositories

CFEngine package repositories

Overview

What is this?
These apt/yum package repositories contain the official CFEngine Community RPMs and DEBs, ready for use directly with your favourite package manage
r (apt-get, aptitude, yum, zypper…).

What version of CFEngine?
These repositories are kept up to date with the latest version of CFEngine Community considered stable (currently 3.6.5).

How long will this be around?
These repositories will be online and kept up-to-date until the issues with the official cfengine.com repository are fixed (see below). But don’t worry, we won’t suddenly drop them! If you want to be informed about changes to these repos, just sign up for updates below.


Quick start (aka “Give me the URLs already!”)

See below for more detailed usage instructions.

DEB systems (Debian, Ubuntu…)https://www.normation.com/cfengine-repo/apt/
RPM systems (Red Hat, CentOS, SuSE…)https://www.normation.com/cfengine-repo/yum/

Stay in the loop – sign up for updates

Worried about this repository disappearing, updates coming in unnoticed, or us changing something? Just sign up here and we’ll email you about any changes, updates, or the possible end-of-life of this repo, with plenty of warning.

Enter your email to get updates:

Of course we won’t share your email address with spammers, or anyone for that matter.

Detailed usage instructions

Inspired from the official instructions at https://cfengine.com/cfengine-linux-distros.

Note: These instructions will replace the URL from cfengine.com with this one, since this repository serves the same function. Just change the file name if you want to keep both.

Debian-based systems (apt-get, aptitude)

Download and install the Normation repository GPG key:

# curl http://www.normation.com/cfengine-repo/gpg.key | apt-key add -

Add the repository to the apt list of sources:

# echo "deb http://www.normation.com/cfengine-repo/apt stable main" > \
 /etc/apt/sources.list.d/cfengine-community.list

Install the package:

# apt-get update && apt-get install cfengine-community

RPM-based systems with yum (Red Hat, CentOS, Fedora…)

Download and install the Normation CFEngine-repository GPG key:

# wget http://www.normation.com/cfengine-repo/gpg.key
# rpm --import gpg.key
# rm gpg.key

Create the file /etc/yum.repos.d/cfengine-community.repo with the following lines:

[cfengine-repository]
name=CFEngine
baseurl=http://www.normation.com/cfengine-repo/yum/
enabled=1
gpgcheck=1

Install the package:

# yum install cfengine-community

RPM-based systems with zypper (SuSE, SLES…)

Download and install the Normation CFEngine-repository GPG key:

# wget http://www.normation.com/cfengine-repo/gpg.key
# rpm --import gpg.key

Add the repository to the zypper list of sources:

# zypper addrepo -t YUM http://www.normation.com/cfengine-repo/yum/ normation-cfengine-repository

Install the package:

# zypper -n install cfengine-community

Frequently asked questions (FAQ)

Why are you hosting this?
As CFEngine consultants, we regularly need to install CFEngine from official packages in an online repository. The official package repository at cfengine.com currently has some issues (see issues #2200, #2479, #2449, #2054 and #2379 that CFEngine developers are working on to fix in the future) so Normation has put these repositories up as a service to the CFengine community.

How can I use these?
Anyway you like! At home, at work, for customers… On one machine or on 10000. We are providing this service for that purpose, to the community at large.

Do these repos support IPv6?
Yes, they do. If you have IPv6 connectivity, your connection should use IPv6 automatically.

Are these repos and packages signed?
Yes, they are, using Normation’s package signing key. Both the repositories themselves are signed, and the RPM packages (this is because the upstream RPM packages are not signed, we consider this a bit of a hack, but nicer than no signing at all).

Where can I report problems about these repositories or discuss them?
You can reach us via email on contact@normation.com, via the form on our Contact page, @Normation on Twitter or IRC: #normation on Freenode.

Where can I report bugs about these packages?
We don’t make the packages, they are the official CFEngine Community RPMs and DEBs. Please report any bugs about them on the CFEngine bugtracker.

Why a package repository?
We prefer to install our software from RPM or DEB packages whenever possible as is best-practice of sysadmins. Having the packages in an online repository makes the installation process a lot easier to manage and ensures upgrades are available to you when necessary.

Why not just use the package from my distribution?
The version of CFEngine packaged in most Linux distributions is significantly out of date (which is a pain because: more bugs, less help available from the community…). Also, the official packages from CFEngine use the standard file layout across all systems.