Go to file
Tobias Herre a759ac2bc5 added cron, lego, lxc-host, mediawiki, nano, python, lxc-hooks.sh, postgres-create-db.sh, and multiple templates, renamed install-php-repo.sh to install-apt-repo.sh 2025-04-15 13:05:07 +02:00
scripts
templates
.swp
LICENSE
README.md
apache.cf
certbot.cf
cron.cf
dovecot.cf
git.cf
gitea.cf
kvm-host.cf
lego.cf
lib.cf
logrot.cf
lxc-host.cf
mailserver.cf
matomo.cf
mediawiki.cf
mysql.cf
nano.cf
nginx.cf
opendkim.cf
php.cf
postfix.cf
postgresql.cf
python.cf
redis.cf
roundcube.cf
rspamd.cf
strongswan.cf
sympa.cf
vim.cf
vimbadmin.cf
wget.cf

README.md

wmdeit-cf-files

INSTALL

Assuming your CFEngine installation resists under /var/cfengine run the following commands:

cd /var/cfengine/masterfiles
git clone https://srcsrv.wikimedia.de/WMDE/wmdeit-cf-wmdelib.git wmdelib

Edit the file /var/cfengine/masterfiles/def.json and add the lines seen below to the inputs and vars section:

{
    "inputs": [
        ...
        "$(wmde_libdir)/lib.cf",
        "$(wmde_libdir)/vim.cf",
        "$(wmde_libdir)/postfix.cf"
    ]
    ,
    "vars":{
        ...
        "wmde_libdir": "wmdelib"
    }
}