
For unidentified reasons, mosquitto is unable to log to /var/log/mosquitto.log when running as root but will happily log to /var/log/mosquitto/mosquitto.log. Luckily that's already the default in our Puppet module, so just drop the unwarranted override. Change-Id: Ifbd39b280f089b9e18bfe8e372f180bb8ad4d1e4
42 lines
1.3 KiB
Puppet
42 lines
1.3 KiB
Puppet
# Copyright 2016 Hewlett-Packard Development Company, L.P.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
# not use this file except in compliance with the License. You may obtain
|
|
# a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
# License for the specific language governing permissions and limitations
|
|
# under the License.
|
|
#
|
|
# firehose glue class.
|
|
#
|
|
class openstack_project::firehose (
|
|
$gerrit_username = 'germqtt',
|
|
$gerrit_public_key,
|
|
$gerrit_private_key,
|
|
$gerrit_ssh_host_key,
|
|
$mqtt_hostname = 'firehose01.openstack.org',
|
|
$mqtt_password,
|
|
$mqtt_username = 'infra',
|
|
) {
|
|
include mosquitto
|
|
class {'mosquitto::server':
|
|
infra_service_username => $mqtt_username,
|
|
infra_service_password => $mqtt_password,
|
|
}
|
|
|
|
include germqtt
|
|
class {'germqtt::server':
|
|
gerrit_username => $gerrit_username,
|
|
gerrit_public_key => $gerrit_public_key,
|
|
gerrit_private_key => $gerrit_private_key,
|
|
gerrit_ssh_host_key => $gerrit_ssh_host_key,
|
|
mqtt_username => $mqtt_username,
|
|
mqtt_password => $mqtt_password,
|
|
}
|
|
}
|