cookbook-openstack-object-s.../recipes/client.rb
Simon Ingelsson 715eddffba Renamed attributes and references described in blueprint
Implements: blueprint object-storage-attribute-rename

Change-Id: Iac4ea45d1894b14da2656f4f525d1a87784fcdfd
2014-02-24 21:36:14 +01:00

29 lines
881 B
Ruby

# encoding: UTF-8
#
# Cookbook Name:: openstack-object-storage
# Recipe:: client
#
# Copyright 2014, IBM Corp.
#
# 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.
#
platform_options = node['openstack']['object-storage']['platform']
platform_options['swift_client_packages'].each do |pkg|
package pkg do
options platform_options['package_overrides']
action :upgrade
end
end