Skip to content

Commit

Permalink
Merge pull request #1036 from 14rcole/layout-boolean
Browse files Browse the repository at this point in the history
Merged by Jenkins
  • Loading branch information
paas-bot authored Mar 20, 2019
2 parents f487190 + cc2a54a commit aa8891b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions linchpin/InventoryFilters/CFGInventoryFormatter.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,10 @@ def add_common_vars(self, host_groups, layout, config):
if common_vars[var] in cfg_item[item].keys():
value = common_vars[var]
host_string += " " + var + "=" +\
cfg_item[item][value]
str(cfg_item[item][value])
else:
host_string += " " + var + "=" + common_vars[var]
host_string += " " + var + "=" +\
str(common_vars[var])
self.config.set(group, host_string)

def generate_inventory(self):
Expand Down

0 comments on commit aa8891b

Please sign in to comment.