Chapter 09/circuit-oneops-1-master/components/cookbooks/f5-bigip/libraries/provider_ltm_pool.rb
#
# Return pool members that are defined for the pool
#
# @return [Array]
#   pool members defined for the pool to have
#
Return pool members that are defined for the pool
Return pool members that are defined for the pool
def new_members
        members = new_resource.members.map { |m| slice(m.to_hash, 'address', 'port') }
        members.each do |member|
          member['address'] = member['address'].gsub('/Common/', '')
          member['port'] = member['port'].to_s
        end
        members
      end
def new_members members = new_resource . members . map { | m | slice ( m . to_hash , 'address' , 'port' ) } members . each do | member | member [ 'address' ] = member [ 'address' ] . gsub ( '/Common/' , '' ) member [ 'port' ] = member [ 'port' ] . to_s end members end
Return pool members that are defined for the pool
Return pool members that are defined for the pool
# Strip off partition (good/bad?)
pool members defined for the pool to have
pool members defined for the pool to have
Array