Method: Pantry::Config#initialize

Defined in:
lib/pantry/config.rb

#initializeConfig

Returns a new instance of Config.



89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
# File 'lib/pantry/config.rb', line 89

def initialize

  # Logging defaults
  @log_level = "info"
  @syslog_program_name = "pantry"

  # Default connectivity settings
  @server_host       = "127.0.0.1"
  @pub_sub_port      = 23001
  @receive_port      = 23002
  @file_service_port = 23003

  # Default client heartbeat to every 5 minutes
  @client_heartbeat_interval = 300

  # Default Client identificiation values
  @client_identity    = nil
  @client_application = nil
  @client_environment = nil
  @client_roles       = []

end