Paul Belanger a45ee742a0
Add support for systemd init scripts
This is needed to support ubuntu xenial.

Change-Id: If30bff94ee0136fbadee7ce994b25842a1cc4270
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-12-13 14:21:21 -05:00

13 lines
280 B
Puppet

# Class: meetbot::params
#
class meetbot::params {
$plugins_dir = $::lsbdistcodename ? {
'xenial' => '/usr/lib/python2.7/dist-packages',
default => '/usr/share/pyshared',
}
$initd = $::lsbdistcodename ? {
'trusty' => 'upstart',
default => 'systemd',
}
}