Page MenuHomePhabricator

Replace upstart with systemd unit in ::kafka
Closed, ResolvedPublic

Description

Use of upstart is implicit rather than explicit.

    file { '/etc/init/kafka.conf':
        ensure => 'present',
        source => 'puppet:///modules/kafka/upstart',
        mode   => '0444',
     }
...
     service { 'kafka':
        ensure    => 'running',
        enable    => true,
        require   => [
            User['kafka'],
            Service['zookeeper-server'],
        ],
        subscribe => [
            File['/etc/init/kafka.conf'],
            File['/etc/kafka/server.properties'],
        ],
}

Event Timeline

bd808 created this task.Jan 24 2017, 5:38 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJan 24 2017, 5:38 AM

Change 333836 had a related patch set uploaded (by BryanDavis):
Make kafka run on Jessie

https://gerrit.wikimedia.org/r/333836

Change 333836 merged by jenkins-bot:
Make kafka run on Jessie

https://gerrit.wikimedia.org/r/333836

bd808 closed this task as Resolved.Jan 25 2017, 2:24 AM
bd808 claimed this task.
Restricted Application added a project: User-bd808. · View Herald TranscriptJan 25 2017, 2:24 AM