From 25b1da5bbb145ded97398f27b711539d41ba2689 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 9 Dec 2014 22:11:33 +0100 Subject: [PATCH] enable ud-replicated.service --- modules/debian-org/manifests/init.pp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/debian-org/manifests/init.pp b/modules/debian-org/manifests/init.pp index ff7d62fc6..a192c7d98 100644 --- 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', -- 2.20.1