forked from facebook/chef-cookbooks
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(fb_apache): render arrays inside of hash configs
This commit moves all template logic into a single function and drops the separate `apache_conf.erb`, which should prevent things from only working in one context (e.g. at the top-level of the config) and not another (e.g. as a sub-hash of the config). I replaced the check for `Fixnum` with `Integer` when moving the logic, per the `Lint/UnifiedInteger` lint.
- Loading branch information
1 parent
230c9dd
commit 98c18a2
Showing
4 changed files
with
39 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters