Module: Rutty::Consts

Included in:
Runner
Defined in:
lib/rutty/consts.rb

Overview

Simple container module for constants.

Author:

  • Josh Lindsey

Since:

  • 2.0.0

Constant Summary collapse

OUTPUT_FORMATS =

List of possible output formats

Since:

  • 2.0.0

%w(human-readable json xml)
DEFAULT_OUTPUT_FORMAT =

Default output format

Since:

  • 2.0.0

'human-readable'
GENERAL_CONF_FILE =

Name of the general (defaults) config file

Since:

  • 2.0.0

'config.yaml'
NODES_CONF_FILE =

Name of the datastore file for user-defined nodes

Since:

  • 2.0.0

'nodes.yaml'
CONF_DIR =

Default configuaration storage directory

Since:

  • 2.0.0

File.join(ENV['HOME'], '.rutty')
GENERAL_CONF =

Default general (defaults) config file location

Since:

  • 2.0.0

File.join(CONF_DIR, GENERAL_CONF_FILE)
NODES_CONF =

Default nodes datastore file location

Since:

  • 2.0.0

File.join(CONF_DIR, NODES_CONF_FILE)