2023-09-15 09:45:54 +00:00
|
|
|
# wmdeit-cf-files
|
|
|
|
|
2023-10-04 08:11:04 +00:00
|
|
|
# INSTALL
|
|
|
|
|
2023-10-04 06:52:14 +00:00
|
|
|
Assuming your CFEngine installation resists under /var/cfengine run
|
|
|
|
the following commands:
|
|
|
|
|
2023-10-04 08:11:04 +00:00
|
|
|
cd /var/cfengine/masterfiles
|
|
|
|
git clone https://srcsrv.wikimedia.de/WMDE/wmdeit-cf-wmdelib.git wmdelib
|
2023-10-04 06:52:14 +00:00
|
|
|
|
2023-10-04 08:13:01 +00:00
|
|
|
Edit the file /var/cfengine/masterfiles/def.json and add the lines seen below to the inputs and vars section:
|
2023-10-04 06:52:14 +00:00
|
|
|
|
2023-10-04 08:11:04 +00:00
|
|
|
{
|
|
|
|
"inputs": [
|
|
|
|
...
|
|
|
|
"$(wmde_libdir)/lib.cf",
|
|
|
|
"$(wmde_libdir)/vim.cf",
|
|
|
|
"$(wmde_libdir)/postfix.cf"
|
|
|
|
]
|
|
|
|
,
|
|
|
|
"vars":{
|
|
|
|
...
|
|
|
|
"wmde_libdir": "wmdelib"
|
|
|
|
}
|
|
|
|
}
|