projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Trailing line ending characters are sometimes nice
[mirror/dsa-puppet.git]
/
modules
/
debian-org
/
manifests
/
init.pp
diff --git
a/modules/debian-org/manifests/init.pp
b/modules/debian-org/manifests/init.pp
index
ff7d62f
..
a192c7d
100644
(file)
--- a/
modules/debian-org/manifests/init.pp
+++ b/
modules/debian-org/manifests/init.pp
@@
-255,6
+255,13
@@
class debian-org {
source => 'puppet:///modules/debian-org/ud-replicated.service',
notify => Exec['systemctl daemon-reload'],
}
source => 'puppet:///modules/debian-org/ud-replicated.service',
notify => Exec['systemctl daemon-reload'],
}
+ if $systemd {
+ file { '/etc/systemd/system/multi-user.target.wants/ud-replicated.service':
+ ensure => 'link',
+ target => '../ud-replicated.service',
+ notify => Exec['systemctl daemon-reload'],
+ }
+ }
file { '/etc/systemd/system/puppet.service':
ensure => 'link',
target => '/dev/null',
file { '/etc/systemd/system/puppet.service':
ensure => 'link',
target => '/dev/null',