files/aerobase-cookbooks/aerobase/libraries/unifiedpush.rb
def parse_nginx_listen_address
      return unless nginx['listen_address']

      # The user specified a custom NGINX listen address with the legacy
      # listen_address option. We have to convert it to the new
      # listen_addresses setting.
      nginx['listen_addresses'] = [nginx['listen_address']]
    end
# guards against creating secrets on non-bootstrap node
guards against creating secrets on non-bootstrap node
guards against creating secrets on non - bootstrap node
def parse_nginx_listen_address
      return unless nginx['listen_address']
      nginx['listen_addresses'] = [nginx['listen_address']]
    end
def parse_nginx_listen_address return unless nginx [ 'listen_address' ] nginx [ 'listen_addresses' ] = [ nginx [ 'listen_address' ] ] end
guards against creating secrets on non-bootstrap node
guards against creating secrets on non - bootstrap node
# The user specified a custom NGINX listen address with the legacy # listen_address option. We have to convert it to the new # listen_addresses setting.