projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79bd42d
)
Of course just restoring the default symlink is not sufficient -- we also have to...
author
Peter Palfrader
<peter@palfrader.org>
Sun, 8 Sep 2019 06:47:06 +0000
(08:47 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Sun, 8 Sep 2019 06:48:11 +0000
(08:48 +0200)
modules/systemdtimesyncd/manifests/init.pp
patch
|
blob
|
history
diff --git
a/modules/systemdtimesyncd/manifests/init.pp
b/modules/systemdtimesyncd/manifests/init.pp
index
6a9a298
..
a0d5b12
100644
(file)
--- a/
modules/systemdtimesyncd/manifests/init.pp
+++ b/
modules/systemdtimesyncd/manifests/init.pp
@@
-20,5
+20,13
@@
class systemdtimesyncd {
content => template('systemdtimesyncd/timesyncd.conf.erb'),
notify => Service['systemd-timesyncd'],
}
+
+ # Up until 2019-09 we had timesyncd started by multi-user.target instead of the default
+ # sysinit.target.wants. We are moving back to sysinit.target.wants (for now).
+ file { '/etc/systemd/system/multi-user.target.wants/systemd-timesyncd.service':
+ ensure => 'absent',
+ notify => Exec['systemctl daemon-reload'],
+ }
+
}
}