Merge "Add a case statement workaround for Chef 14"
This commit is contained in:
@@ -18,6 +18,18 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
# install a python, working around the epoch on RHEL
|
||||||
|
case node['platform_family']
|
||||||
|
when 'debian', 'ubuntu'
|
||||||
|
python_runtime '2' do
|
||||||
|
provider :system
|
||||||
|
end
|
||||||
|
when 'rhel'
|
||||||
|
python_runtime '0:2' do
|
||||||
|
provider :system
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
platform_options = node['openstack']['common']['platform']
|
platform_options = node['openstack']['common']['platform']
|
||||||
case node['platform_family']
|
case node['platform_family']
|
||||||
when 'debian'
|
when 'debian'
|
||||||
|
Reference in New Issue
Block a user