newcastleuniversity / puppet_module_msktutil

Used by https://github.com/newcastleuniversity/computing_linux_puppet_controlrepo. Use Puppet to join a GNU/Linux system to Active Directory and keep it joined.
0 stars 0 forks source link

Obey Debian method for altering flags for cronstub #3

Closed threepistons closed 1 year ago

threepistons commented 1 year ago

In gitlab by @threepistons on Mar 22, 2019, 15:51

In Debian, the msktutil package contins this cronstub:

#!/bin/sh

test -x /usr/sbin/msktutil || exit 0

# These options are overridden in /etc/default/msktutil.
# Edit there, not here.
AUTOUPDATE_ENABLED="false"
AUTOUPDATE_OPTIONS=""

[ -r /etc/default/msktutil ] && . /etc/default/msktutil

[ "$AUTOUPDATE_ENABLED" = "true" ] || exit 0
exec /usr/sbin/msktutil --auto-update $AUTOUPDATE_OPTIONS

We currently replace this cronstub. We should probably do this the indicated way, by keeping the shipped cronstub and replacing /etc/default/msktutil.

In CentOS, we keep doing what we are already doing.

threepistons commented 1 year ago

In gitlab by @threepistons on Mar 22, 2019, 17:13

mentioned in commit 099ab9

threepistons commented 1 year ago

In gitlab by @threepistons on Mar 22, 2019, 17:14

mentioned in commit f49416

threepistons commented 1 year ago

In gitlab by @threepistons on Mar 22, 2019, 17:16

mentioned in commit 77db4d

threepistons commented 1 year ago

In gitlab by @threepistons on Mar 22, 2019, 17:16

mentioned in commit a1ca37

threepistons commented 1 year ago

In gitlab by @threepistons on Mar 22, 2019, 17:16

mentioned in commit 2e7db0

threepistons commented 1 year ago

In gitlab by @threepistons on Apr 10, 2019, 15:40

Resolved by ae2c74c