[debian-edu-commits] [Git][debian-edu/debian-edu-config][master] cf3/cf.cfengine3: Simplify. Use systemctl calls always.
Mike Gabriel (@sunweaver)
gitlab at salsa.debian.org
Sun Nov 8 23:26:52 GMT 2026
Mike Gabriel pushed to branch master at Debian Edu / debian-edu-config
Commits:
9caada60 by Mike Gabriel at 2026-11-09T00:26:46+01:00
cf3/cf.cfengine3: Simplify. Use systemctl calls always.
- - - - -
2 changed files:
- cf3/cf.cfengine3
- share/debian-edu-config/tools/update-firefox-homepage
Changes:
=====================================
cf3/cf.cfengine3
=====================================
@@ -2,46 +2,9 @@ bundle agent cfengine3
{
# Mask cfengine3 services which are enabled by default when systemd is used (#1043353)
-services:
-
- debian.systemd.!(di|fai).installation::
-
- "cf-apache.service"
- service_policy => "stop";
- "cf-execd.service"
- service_policy => "stop";
- "cf-hub.service"
- service_policy => "stop";
- "cf-monitord.service"
- service_policy => "stop";
- "cf-postgres.service"
- service_policy => "stop";
- "cf-reactor.service"
- service_policy => "stop";
- "cf-serverd.service"
- service_policy => "stop";
- "cfengine3.service"
- service_policy => "stop";
- "cf-apache.service"
- service_policy => "mask";
- "cf-execd.service"
- service_policy => "mask";
- "cf-hub.service"
- service_policy => "mask";
- "cf-monitord.service"
- service_policy => "mask";
- "cf-postgres.service"
- service_policy => "mask";
- "cf-reactor.service"
- service_policy => "mask";
- "cf-serverd.service"
- service_policy => "mask";
- "cfengine3.service"
- service_policy => "mask";
-
commands:
- debian.systemd.(di|fai).installation::
+ debian.installation::
"/bin/systemctl mask cfengine3.service cf-apache.service cf-execd.service cf-hub.service cf-monitord.service cf-postgres.services cf-reactor.service cf-serverd.service"
contain => in_shell;
=====================================
share/debian-edu-config/tools/update-firefox-homepage
=====================================
@@ -26,7 +26,7 @@ if [ -z "$url" ] || [ "about:blank" = "$url" ]; then
else
cat > $etcfile.new <<EOF
# Generated from LDAP
-pref("browser.startup.homepage","data:text/plain,browser.startup.homepage=$url");
+pref("browser.startup.homepage","$url");
EOF
chmod 644 $etcfile.new
if cmp -s $etcfile $etcfile.new ; then
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/commit/9caada60507ae6a5737f5e6b0d8072f2f531890d
--
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/commit/9caada60507ae6a5737f5e6b0d8072f2f531890d
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-edu-commits/attachments/20261108/fdfb77a4/attachment-0001.htm>
More information about the debian-edu-commits
mailing list