Merge "ask.o.o : workaround old puppet-solr package"
This commit is contained in:
commit
e740439103
BIN
modules/openstack_project/files/ask/jetty_1.0_all.deb
Normal file
BIN
modules/openstack_project/files/ask/jetty_1.0_all.deb
Normal file
Binary file not shown.
@ -17,6 +17,29 @@ class openstack_project::ask (
|
||||
$askbot_revision = '87086ebcefc5be29e80d3228e465e6bec4523fcf'
|
||||
) {
|
||||
|
||||
if $::lsbdistcodename == "xenial" {
|
||||
# NOTE(ianw) This is a horrible, horrible hack because puppet-solr
|
||||
# has not been updated to handle Xenial where jetty split into a
|
||||
# jetty8 package. This equivs deb pre-depends on jetty8, and sets
|
||||
# up a few links to fool (confuse?) puppet-solr enough to install
|
||||
# and run...
|
||||
file { '/root/jetty_1.0_all.deb':
|
||||
ensure => present,
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
mode => '0644',
|
||||
source => 'puppet://modules/openstack_project/ask/jetty_1.0_all.deb'
|
||||
}
|
||||
|
||||
package { 'jetty':
|
||||
provider => dpkg,
|
||||
state => installed,
|
||||
source => "/root/jetty_1.0_all.deb",
|
||||
require => File['/root/jetty_1.0_all.deb']
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
file { '/srv/dist':
|
||||
ensure => directory,
|
||||
owner => 'root',
|
||||
|
Loading…
x
Reference in New Issue
Block a user