--- # Copyright 2018, SUSE Linux GmbH. # # 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. swift_package_list: |- {% set packages = swift_distro_packages %} {% if swift_services['swift-account-server']['group'] in group_names %} {% set _ = packages.extend(swift_account_distro_packages) %} {% endif %} {% if swift_services['swift-container-server']['group'] in group_names %} {% set _ = packages.extend(swift_container_distro_packages) %} {% endif %} {% if swift_services['swift-object-server']['group'] in group_names %} {% set _ = packages.extend(swift_object_distro_packages) %} {% endif %} {% if swift_services['swift-proxy-server']['group'] in group_names %} {% set _ = packages.extend(swift_proxy_distro_packages) %} {% endif %} {% set _ = packages.extend(swift_service_distro_packages) %} {{ packages }} _swift_bin: "/usr/bin"