Skip to content

Commit

Permalink
New flag, distill_data
Browse files Browse the repository at this point in the history
Flag will be used in conjunction with generate_resources = False.
Enables the ability to distill down data from the RunDB into an output.
  • Loading branch information
Clint Savage committed Mar 29, 2018
1 parent fdcf517 commit 976ff41
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/source/examples/workspace/linchpin.conf
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ rundb_conn = ~/.config/linchpin/rundb-::mac::.json
# the workspace that linchpin reads would change to this value.
#default_pinfile = PinFile


# By default, whenever linchpin performs an action
# (linchpin up/linchpin destroy), the data is read from the PinFile.
# Enabling 'use_rundb_for_actions' will allow destroy and certain up
Expand All @@ -80,6 +79,12 @@ rundb_conn = ~/.config/linchpin/rundb-::mac::.json
#use_rundb_for_actions = False
use_rundb_for_actions = True

# A user can request specific data distilled from the RunDB. This flag
# enables the Context Distiller.
# NOTE: This flag requires generate_resources = False.
#distill_data = False
distill_data = True

# LinchPin sets several extra_vars (evars) that are passed to the playbooks.
# This section controls those items.
[evars]
Expand Down
1 change: 1 addition & 0 deletions linchpin/linchpin.constants
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ default_pinfile = PinFile

external_providers_path = %(default_config_path)s/linchpin-x
use_rundb_for_actions = False
distill_data = False

[evars]
_check_mode = False
Expand Down

0 comments on commit 976ff41

Please sign in to comment.