Introducing AI agent: Get information about your infrastructure faster. Learn more>

Configuring CFEngine Linux Package Repositories

CFEngine GPG Key Fingerprint:

F2EE 2A0E 76A6 D469 8AE5 301A 7420 C142 9B92 0A5E

To install CFEngine using these repositories, as root follow the instructions below for your platform.

For Debian-based systems (apt):

Please note: You may need to install apt-transport-https in order to be able to use HTTPS sources. (apt-get install apt-transport-https). For very old distributions (Debian 4) you may have to change the URL from HTTPS to HTTP.

  • Download the CFEngine GPG key, verify it matches the above fingerprint and install it as trusted:
    # wget -q -O cfengine.asc https://cfengine-package-repos.s3.amazonaws.com/pub/gpg.key
    # gpg --show-key --with-fingerprint ./cfengine.asc
    # mv ./cfengine.asc /etc/apt/trusted.gpg.d/
  • Run the following command to manually add the repository. Make sure you type the entire command below in a single line:
    # echo "deb https://cfengine-package-repos.s3.amazonaws.com/pub/apt/packages stable main" > \
    /etc/apt/sources.list.d/cfengine-community.list
  • Install the package:
    # apt-get update
    # apt-get install cfengine-community

Complete community installation documentation.

For RPM-based systems with yum:

  • Run the following command to create /etc/yum.repos.d/cfengine-community.repo
    # cat <<EOF> /etc/yum.repos.d/cfengine-community.repo
    [cfengine-repository]
    name=CFEngine
    baseurl=https://cfengine-package-repos.s3.amazonaws.com/pub/yum/\$basearch
    enabled=1
    gpgcheck=1
    gpgkey=https://cfengine-package-repos.s3.amazonaws.com/pub/gpg.key
    EOF
  • Install the package and verify that the fingerprint of the key being imported matches the one above.
    # yum install cfengine-community

Complete community installation documentation.

For RPM-based systems with zypper:

# rpm --import https://cfengine-package-repos.s3.amazonaws.com/pub/gpg.key

For 64 bit systems:

# zypper addrepo -t YUM https://cfengine-package-repos.s3.amazonaws.com/pub/yum/x86_64 cfengine-repository

For 32 bit systems:

# zypper addrepo -t YUM https://cfengine-package-repos.s3.amazonaws.com/pub/yum/i386 cfengine-repository

To verify that the repository was added:

# zypper se cfengine-community

Output should look like this:

S | Name | Summary | Type
--+------------------------------------------------------------------------------+-----------
i | cfengine-community | The CFEngine Configuration System | package

To install cfengine community:

# zypper -n install cfengine-community

Complete community installation documentation.

Try CFEngine Enterprise for free

Sign up for CFEngine Enterprise and connect up to 25 hosts for free. No credit card required. Get started in minutes.

Try enterprise for free

AltStyle によって変換されたページ (->オリジナル) /