Paul Belanger 82a00dacba
Support ubuntu xenial plugins directory
Looks like the location of plugins directory has changed in
ubuntu-xenial. Update manifiest to support both xenial and trusty.

Update service to subscribe to /opt/meetbot this way we don't need to
know which plugins directory is needed when on xenial or trusty.

Change-Id: I70a06093bbb1119aed52627f2a4bf1d07b74cd5b
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-12-12 17:58:30 -05:00

9 lines
188 B
Puppet

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