Skip to content

Commit

Permalink
Merge pull request #2313 from hswong3i/multiple_inventory_dir
Browse files Browse the repository at this point in the history
Update default CONFIG_FILE for contrib/inventory_builder/inventory.py
  • Loading branch information
Atoms authored Feb 12, 2018
2 parents 874ec8f + 4a36b09 commit f4a68ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/inventory_builder/inventory.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def get_var_as_bool(name, default):

# Configurable as shell vars start

CONFIG_FILE = os.environ.get("CONFIG_FILE", "./inventory.cfg")
CONFIG_FILE = os.environ.get("CONFIG_FILE", "./inventory/sample/hosts.ini")
# Reconfigures cluster distribution at scale
SCALE_THRESHOLD = int(os.environ.get("SCALE_THRESHOLD", 50))
MASSIVE_SCALE_THRESHOLD = int(os.environ.get("SCALE_THRESHOLD", 200))
Expand Down Expand Up @@ -318,7 +318,7 @@ def show_help(self):
Configurable env vars:
DEBUG Enable debug printing. Default: True
CONFIG_FILE File to write config to Default: ./inventory.cfg
CONFIG_FILE File to write config to Default: ./inventory/sample/hosts.ini
HOST_PREFIX Host prefix for generated hosts. Default: node
SCALE_THRESHOLD Separate ETCD role if # of nodes >= 50
MASSIVE_SCALE_THRESHOLD Separate K8s master and ETCD if # of nodes >= 200
Expand Down

0 comments on commit f4a68ea

Please sign in to comment.