Merge "Add a case statement workaround for Chef 14"
This commit is contained in:
commit
d9f70a42a9
@ -18,6 +18,18 @@
|
||||
# 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']
|
||||
case node['platform_family']
|
||||
when 'debian'
|
||||
|
Loading…
x
Reference in New Issue
Block a user