Browse Source

Merge "Replace platform_family method and use attribute instead"

Zuul 1 year ago
parent
commit
b3439eaea1
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      attributes/default.rb

+ 3
- 3
attributes/default.rb View File

@@ -153,7 +153,7 @@ default['openstack']['network_vpnaas']['conf'].tap do |conf|
153 153
   # Status check interval for ipsec vpn
154 154
   conf['ipsec']['ipsec_status_check_interval'] = 60
155 155
   # default_config_area settings is used to set the area where default StrongSwan configuration files are located
156
-  case platform_family
156
+  case node['platform_family']
157 157
   when 'fedora', 'rhel'
158 158
     conf['strongswan']['default_config_area'] = '/usr/share/strongswan/templates/config/strongswan.d'
159 159
   when 'debian'
@@ -173,7 +173,7 @@ default['openstack']['network_lbaas']['conf'].tap do |conf|
173 173
   conf['DEFAULT']['ovs_use_veth'] = false
174 174
   conf['DEFAULT']['interface_driver'] = 'neutron.agent.linux.interface.OVSInterfaceDriver'
175 175
   conf['DEFAULT']['device_driver'] = 'neutron_lbaas.drivers.haproxy.namespace_driver.HaproxyNSDriver'
176
-  case platform_family
176
+  case node['platform_family']
177 177
   when 'fedora', 'rhel'
178 178
     conf['haproxy']['user_group'] = 'nobody'
179 179
   when 'debian'
@@ -219,7 +219,7 @@ default['openstack']['network']['platform'].tap do |platform|
219 219
     %w(python-neutron-lbaas)
220 220
   platform['neutron_vpnaas_python_dependencies'] =
221 221
     %w(python-neutron-vpnaas)
222
-  case platform_family
222
+  case node['platform_family']
223 223
   when 'fedora', 'rhel' # :pragma-foodcritic: ~FC024 - won't fix this
224 224
     platform['neutron_packages'] =
225 225
       %w(openstack-neutron openstack-neutron-ml2 iproute)

Loading…
Cancel
Save