From: Peter Palfrader Date: Tue, 9 Dec 2014 21:11:33 +0000 (+0100) Subject: enable ud-replicated.service X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=25b1da5bbb145ded97398f27b711539d41ba2689;p=mirror%2Fdsa-puppet.git enable ud-replicated.service --- 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',