Project

General

Profile

« Previous | Next » 

Revision 80361c2b

Added by Eric Helms about 10 years ago

Refs #5377: Updates to support newer version of Qpid.

View differences:

manifests/config.pp
groups => [$qpid::user_groups],
}
file { '/etc/qpidd.conf':
content => template('qpid/etc/qpidd.conf.erb')
file { '/etc/qpid/qpidd.conf':
ensure => file,
content => template('qpid/qpidd.conf.erb'),
owner => 'root',
group => 'root',
mode => '0644',
}
}
manifests/install.pp
#
class qpid::install {
case $::operatingsystem {
'Fedora': {
$packages_to_install = ['qpid-cpp-server','qpid-cpp-client']
}
default: {
$packages_to_install = ['qpid-cpp-server','qpid-cpp-client','qpid-cpp-client-ssl','qpid-cpp-server-ssl']
}
}
$packages_to_install = ['qpid-cpp-server',
'qpid-cpp-client',
'python-qpid-qmf',
'python-qpid',
'policycoreutils-python',
'qpid-tools',
]
package { $packages_to_install:
ensure => 'installed',
before => Service['qpidd']
}
package {'policycoreutils-python':
ensure => 'installed'
}
}
templates/etc/qpidd.conf.erb
#
# WARNING: THIS CONFIGURATION WAS GENERATED BY KATELLO-CONFIGURE TOOL,
# CHANGES WILL LIKELY BE OVERWRITTEN.
#
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you 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.
#
# Configuration file for qpidd. Entries are of the form:
# name=value
#
# (Note: no spaces on either side of '='). Using default settings:
# "qpidd --help" or "man qpidd" for more details.
cluster-mechanism=ANONYMOUS
log-enable=error+
auth=no
require-encryption=yes
<% if scope.lookupvar("qpid::ssl") -%>
ssl-require-client-authentication=yes
ssl-port=<%= scope.lookupvar("qpid::ssl_port") %>
ssl-cert-db=<%= scope.lookupvar("qpid::ssl_cert_db") %>
ssl-cert-password-file=<%= scope.lookupvar("qpid::ssl_cert_password_file") %>
ssl-cert-name=<%= scope.lookupvar("qpid::ssl_cert_name") %>
<% end %>
templates/qpidd.conf.erb
#
# WARNING: THIS CONFIGURATION WAS GENERATED BY KATELLO-CONFIGURE TOOL,
# CHANGES WILL LIKELY BE OVERWRITTEN.
#
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you 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.
#
# Configuration file for qpidd. Entries are of the form:
# name=value
#
# (Note: no spaces on either side of '='). Using default settings:
# "qpidd --help" or "man qpidd" for more details.
#cluster-mechanism=ANONYMOUS
log-enable=error+
auth=no
require-encryption=yes
<% if scope.lookupvar("qpid::ssl") -%>
ssl-require-client-authentication=yes
ssl-port=<%= scope.lookupvar("qpid::ssl_port") %>
ssl-cert-db=<%= scope.lookupvar("qpid::ssl_cert_db") %>
ssl-cert-password-file=<%= scope.lookupvar("qpid::ssl_cert_password_file") %>
ssl-cert-name=<%= scope.lookupvar("qpid::ssl_cert_name") %>
<% end %>

Also available in: Unified diff