Merge pull request #30 from salt-formulas/chain

Fix creation of all chain file