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:
7b6d99f
)
enable ud-replicated.service
author
Peter Palfrader
<peter@palfrader.org>
Tue, 9 Dec 2014 21:11:33 +0000
(22:11 +0100)
committer
Peter Palfrader
<peter@palfrader.org>
Tue, 9 Dec 2014 21:11:33 +0000
(22:11 +0100)
modules/debian-org/manifests/init.pp
patch
|
blob
|
history
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'],
}
+ 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',