class Caco::Repmgr::Conf

Public Instance Methods

build_content(ctx, node_id:, node_name:, postgres_version:, **) click to toggle source
# File lib/caco/repmgr/conf.rb, line 17
def build_content(ctx, node_id:, node_name:, postgres_version:, **)
  ctx[:content] = Caco::Repmgr::Cell::Conf.(
    node_id: node_id,
    node_name: node_name,
    postgres_version: postgres_version
  ).to_s
end