cookbook-openstack-network/recipes/brocade.rb
Elliott Davis dc2c87d1f9 Renamed common.rb to default.rb
Renamed the common.rb recipe to default.rb in an early attempt
to simplify the refactor happening here:
https://review.openstack.org/#/c/141459/

Change-Id: Idd904f80cd51711db456606298e9761452bed23d
2014-12-17 10:47:44 -06:00

24 lines
784 B
Ruby

# Encoding: utf-8
#
# Cookbook Name:: openstack-network
# Recipe:: brocade
#
# Copyright 2013, AT&T
#
# 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.
#
['quantum', 'neutron'].include?(node['openstack']['compute']['network']['service_type']) || return
include_recipe 'openstack-network'