Class: Caco::Repmgr::Cell::Conf
- Inherits:
-
Trailblazer::Cell
- Object
- Trailblazer::Cell
- Caco::Repmgr::Cell::Conf
- Defined in:
- lib/caco/repmgr/cell/conf.rb
Instance Method Summary collapse
- #barman_host ⇒ Object
- #barman_server ⇒ Object
- #node_id ⇒ Object
- #node_initial_role ⇒ Object
- #node_name ⇒ Object
- #postgres_version ⇒ Object
- #primary_database ⇒ Object
- #primary_host ⇒ Object
- #primary_user ⇒ Object
- #use_barman? ⇒ Boolean
Instance Method Details
#barman_host ⇒ Object
35 36 37 |
# File 'lib/caco/repmgr/cell/conf.rb', line 35 def property(:barman_host) || "barman" end |
#barman_server ⇒ Object
39 40 41 |
# File 'lib/caco/repmgr/cell/conf.rb', line 39 def property(:barman_server) || "pg" end |
#node_id ⇒ Object
3 4 5 |
# File 'lib/caco/repmgr/cell/conf.rb', line 3 def node_id property(:node_id) end |
#node_initial_role ⇒ Object
23 24 25 |
# File 'lib/caco/repmgr/cell/conf.rb', line 23 def node_initial_role property(:node_initial_role) end |
#node_name ⇒ Object
7 8 9 |
# File 'lib/caco/repmgr/cell/conf.rb', line 7 def node_name property(:node_name) end |
#postgres_version ⇒ Object
27 28 29 |
# File 'lib/caco/repmgr/cell/conf.rb', line 27 def postgres_version property(:postgres_version) end |
#primary_database ⇒ Object
19 20 21 |
# File 'lib/caco/repmgr/cell/conf.rb', line 19 def primary_database property(:primary_database) end |
#primary_host ⇒ Object
11 12 13 |
# File 'lib/caco/repmgr/cell/conf.rb', line 11 def primary_host property(:primary_host) end |
#primary_user ⇒ Object
15 16 17 |
# File 'lib/caco/repmgr/cell/conf.rb', line 15 def primary_user property(:primary_user) end |
#use_barman? ⇒ Boolean
31 32 33 |
# File 'lib/caco/repmgr/cell/conf.rb', line 31 def property(:use_barman) || false end |