enable ud-replicated.service
authorPeter Palfrader <peter@palfrader.org>
Tue, 9 Dec 2014 21:11:33 +0000 (22:11 +0100)
committerPeter Palfrader <peter@palfrader.org>
Tue, 9 Dec 2014 21:11:33 +0000 (22:11 +0100)
modules/debian-org/manifests/init.pp

index ff7d62f..a192c7d 100644 (file)
@@ -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',